details:   https://code.openbravo.com/erp/devel/pi/rev/4011862b60db
changeset: 13591:4011862b60db
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Wed Aug 24 12:53:23 2011 +0200
summary:   Fixes issue 18141: In G/L Category window, there are two records 
with None name.
The solution, is for the future installations. It doesn't affect to installed 
environment

details:   https://code.openbravo.com/erp/devel/pi/rev/daefa7a53ac0
changeset: 13592:daefa7a53ac0
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Wed Aug 24 12:58:28 2011 +0200
summary:   Fixes issue 17998: When adding IO Product in grid mode you can not 
select any option.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
 |  2 ++
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
              |  2 +-
 src-db/database/sourcedata/referencedData/GL_CATEGORY.xml                      
                                    |  2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r e281d25252ea -r daefa7a53ac0 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
        Wed Aug 24 11:02:34 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
        Wed Aug 24 12:58:28 2011 +0200
@@ -60,6 +60,8 @@
     this.Super('pickValue', arguments);
     delete this._pickedValue;
     if (this.moveFocusOnPickValue && this.form.focusInNextItem) {
+      // update the display before moving the focus
+      this.updateValueMap(true);
       this.form.focusInNextItem(this.name);
     }
   },
diff -r e281d25252ea -r daefa7a53ac0 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Wed Aug 24 11:02:34 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Wed Aug 24 12:58:28 2011 +0200
@@ -979,7 +979,7 @@
     if (item._hasChanged) {
       this.itemChangeActions();
 
-      this.onFieldChanged(this);
+      this.onFieldChanged(item.form, item, item.getValue());
 
       var i;
       for (i = 0; i < this.dynamicCols.length; i++) {
diff -r e281d25252ea -r daefa7a53ac0 
src-db/database/sourcedata/referencedData/GL_CATEGORY.xml
--- a/src-db/database/sourcedata/referencedData/GL_CATEGORY.xml Wed Aug 24 
11:02:34 2011 +0200
+++ b/src-db/database/sourcedata/referencedData/GL_CATEGORY.xml Wed Aug 24 
12:58:28 2011 +0200
@@ -9,7 +9,7 @@
 <!--0-->  <CREATEDBY><![CDATA[0]]></CREATEDBY>
 <!--0-->  <UPDATED><![CDATA[2011-02-22 17:06:39.0]]></UPDATED>
 <!--0-->  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-<!--0-->  <NAME><![CDATA[None]]></NAME>
+<!--0-->  <NAME><![CDATA[None of System]]></NAME>
 <!--0-->  <CATEGORYTYPE><![CDATA[M]]></CATEGORYTYPE>
 <!--0-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--0--></GL_CATEGORY>

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to