fixed bug 18575: Product registration form does not work properly
authorAsier Lostalé <asier.lostale@openbravo.com>
Sat, 24 Sep 2011 07:39:13 -0400
changeset 13827 d429a6d5167f
parent 13826 2c31d8a3fedc
child 13828 5f12172fde79
fixed bug 18575: Product registration form does not work properly

Invoke 3.0 register implementation when calling from menu
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TREENODE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/OBUIAPP_MENU_PARAMETERS.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/OBUIAPP_VIEW_IMPL.xml
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml	Sat Sep 24 07:36:56 2011 -0400
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MENU.xml	Sat Sep 24 07:39:13 2011 -0400
@@ -1,5 +1,18 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <data>
+<!--1005400002--><AD_MENU>
+<!--1005400002-->  <AD_MENU_ID><![CDATA[1005400002]]></AD_MENU_ID>
+<!--1005400002-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005400002-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005400002-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005400002-->  <NAME><![CDATA[Register]]></NAME>
+<!--1005400002-->  <DESCRIPTION><![CDATA[Register your installation of Openbravo ERP in order to receive development and commercial updates and information]]></DESCRIPTION>
+<!--1005400002-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
+<!--1005400002-->  <ACTION><![CDATA[OBUIAPP_OpenView]]></ACTION>
+<!--1005400002-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--1005400002-->  <EM_OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081329B023101329B0CE2080013]]></EM_OBUIAPP_VIEW_IMPL_ID>
+<!--1005400002--></AD_MENU>
+
 <!--6FD97ECD72B4405FA1442FD8673AE571--><AD_MENU>
 <!--6FD97ECD72B4405FA1442FD8673AE571-->  <AD_MENU_ID><![CDATA[6FD97ECD72B4405FA1442FD8673AE571]]></AD_MENU_ID>
 <!--6FD97ECD72B4405FA1442FD8673AE571-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TREENODE.xml	Sat Sep 24 07:36:56 2011 -0400
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TREENODE.xml	Sat Sep 24 07:39:13 2011 -0400
@@ -11,6 +11,17 @@
 <!--258D19F188E94196936EF06CF608664C-->  <SEQNO><![CDATA[40]]></SEQNO>
 <!--258D19F188E94196936EF06CF608664C--></AD_TREENODE>
 
+<!--52118BF1A3E74D84E040007F01005FEC--><AD_TREENODE>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A3E74D84E040007F01005FEC]]></AD_TREENODE_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <NODE_ID><![CDATA[1005400002]]></NODE_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <PARENT_ID><![CDATA[161]]></PARENT_ID>
+<!--52118BF1A3E74D84E040007F01005FEC-->  <SEQNO><![CDATA[260]]></SEQNO>
+<!--52118BF1A3E74D84E040007F01005FEC--></AD_TREENODE>
+
 <!--76DC645312694D7A8E686BF48C3B490C--><AD_TREENODE>
 <!--76DC645312694D7A8E686BF48C3B490C-->  <AD_TREENODE_ID><![CDATA[76DC645312694D7A8E686BF48C3B490C]]></AD_TREENODE_ID>
 <!--76DC645312694D7A8E686BF48C3B490C-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/OBUIAPP_MENU_PARAMETERS.xml	Sat Sep 24 07:39:13 2011 -0400
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF808081329B023101329B110E0F0027--><OBUIAPP_MENU_PARAMETERS>
+<!--FF808081329B023101329B110E0F0027-->  <OBUIAPP_MENU_PARAMETERS_ID><![CDATA[FF808081329B023101329B110E0F0027]]></OBUIAPP_MENU_PARAMETERS_ID>
+<!--FF808081329B023101329B110E0F0027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081329B023101329B110E0F0027-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081329B023101329B110E0F0027-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--FF808081329B023101329B110E0F0027-->  <AD_MENU_ID><![CDATA[1005400002]]></AD_MENU_ID>
+<!--FF808081329B023101329B110E0F0027-->  <NAME><![CDATA[popup]]></NAME>
+<!--FF808081329B023101329B110E0F0027-->  <PARAMETERVALUE><![CDATA[true]]></PARAMETERVALUE>
+<!--FF808081329B023101329B110E0F0027-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081329B023101329B110E0F0027--></OBUIAPP_MENU_PARAMETERS>
+
+<!--FF808081329B023101329B1188FA002B--><OBUIAPP_MENU_PARAMETERS>
+<!--FF808081329B023101329B1188FA002B-->  <OBUIAPP_MENU_PARAMETERS_ID><![CDATA[FF808081329B023101329B1188FA002B]]></OBUIAPP_MENU_PARAMETERS_ID>
+<!--FF808081329B023101329B1188FA002B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081329B023101329B1188FA002B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081329B023101329B1188FA002B-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--FF808081329B023101329B1188FA002B-->  <AD_MENU_ID><![CDATA[1005400002]]></AD_MENU_ID>
+<!--FF808081329B023101329B1188FA002B-->  <NAME><![CDATA[showsItself]]></NAME>
+<!--FF808081329B023101329B1188FA002B-->  <PARAMETERVALUE><![CDATA[true]]></PARAMETERVALUE>
+<!--FF808081329B023101329B1188FA002B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081329B023101329B1188FA002B--></OBUIAPP_MENU_PARAMETERS>
+
+</data>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/OBUIAPP_VIEW_IMPL.xml	Sat Sep 24 07:36:56 2011 -0400
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/OBUIAPP_VIEW_IMPL.xml	Sat Sep 24 07:39:13 2011 -0400
@@ -9,4 +9,14 @@
 <!--FF8080812EB90459012EBA225DDB0029-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080812EB90459012EBA225DDB0029--></OBUIAPP_VIEW_IMPL>
 
+<!--FF808081329B023101329B0CE2080013--><OBUIAPP_VIEW_IMPL>
+<!--FF808081329B023101329B0CE2080013-->  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081329B023101329B0CE2080013]]></OBUIAPP_VIEW_IMPL_ID>
+<!--FF808081329B023101329B0CE2080013-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081329B023101329B0CE2080013-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081329B023101329B0CE2080013-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--FF808081329B023101329B0CE2080013-->  <NAME><![CDATA[OBUIAPP_RegistrationView]]></NAME>
+<!--FF808081329B023101329B0CE2080013-->  <DESCRIPTION><![CDATA[Opens registration popup]]></DESCRIPTION>
+<!--FF808081329B023101329B0CE2080013-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081329B023101329B0CE2080013--></OBUIAPP_VIEW_IMPL>
+
 </data>
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js	Sat Sep 24 07:36:56 2011 -0400
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js	Sat Sep 24 07:39:13 2011 -0400
@@ -593,3 +593,11 @@
   // Initialize ClassicOBCompatibility object
   cobcomp = L.ClassicOBCompatibility = new ClassicOBCompatibility();
 }(OB, isc));
+
+isc.ClassFactory.defineClass('OBUIAPP_RegistrationView', isc.Layout).addProperties({
+  initWidget : function() {
+    OB.Layout.ClassicOBCompatibility.Popup.openRegistration();
+
+    this.Super('initWidget', arguments);
+  }
+});