details:   https://code.openbravo.com/erp/devel/pi/rev/485822d38b74
changeset: 19807:485822d38b74
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Wed Feb 27 12:10:05 2013 +0530
summary:   Fixes Issue 0023056,23136 : Formatting issues in ordered quantity in 
sales order

Set the item value to non formatted value, after saving the Textual Value for 
database saving purposes.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
 |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 497c2b94c060 -r 485822d38b74 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Tue Feb 26 23:49:00 2013 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Wed Feb 27 12:10:05 2013 +0530
@@ -47,6 +47,7 @@
   changed: function (form, item, value) {
     if (this.form.setTextualValue) {
       this.form.setTextualValue(this.name, this.getEnteredValue(), 
this.typeInstance);
+      item.setValue(this.getEnteredValue());
     }
     this.Super('changed', arguments);
   },

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to