details: https://code.openbravo.com/erp/devel/pi/rev/7ea2815bb68a
changeset: 21431:7ea2815bb68a
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Mon Nov 11 12:43:33 2013 +0530
summary: Fixes issue 0025113: Product Characteristic is not updated properly
in form view
Cleared existing values before setting new values to the canvas.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
| 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 1e00525491cd -r 7ea2815bb68a
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
Wed Nov 06 11:57:00 2013 +0530
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
Mon Nov 11 12:43:33 2013 +0530
@@ -51,6 +51,9 @@
//Remove all members the widget might have
//this.canvas.removeMembers(this.canvas.getMembers());
//
+ //clear existing values. Refer issue
https://issues.openbravo.com/view.php?id=25113
+ this.canvas.clearValues();
+
if (value.characteristics) {
for (field in value.characteristics) {
if (value.characteristics.hasOwnProperty(field)) {
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits