Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-577376-bth into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-577376-bth/+merge/117415

Hello,

   on change must be fired (again) after m2o returns with/after changes

1. Sale => Sale => Sales order
2. Open any record. open customer m2o field from sale order tab.
3. Change payment term from account tab and save customer record.

Observed: "In Sale order record value of payment term in other information tab 
is not changed."
Expected: "In Sale order record value of payment term in other information tab 
should changed."

in m2o field class,when open record called do_onchange method.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-577376-bth/+merge/117415
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-577376-bth.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2012-07-20 12:48:22 +0000
+++ addons/web/static/src/js/view_form.js	2012-07-31 11:44:18 +0000
@@ -2062,6 +2062,7 @@
                     pop.on_write_completed.add_last(function() {
                         self.set_value(self.value[0]);
                         self.focus();
+                        self.view.do_onchange(self);
                     });
                 };
                 _.each(_.range(self.related_entries.length), function(i) {

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to