openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02356
[Merge] lp:~openerp-dev/openerp-web/trunk-bug-1128962-pariket into lp:openerp-web
Pariket Trivedi(OpenERP) has proposed merging lp:~openerp-dev/openerp-web/trunk-bug-1128962-pariket into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
Bug #1128962 in OpenERP Web: "[Trunk / 7.0] Action buttons cause Error in O2M widget"
https://bugs.launchpad.net/openerp-web/+bug/1128962
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1128962-pariket/+merge/151181
O2m fields button Clicke event before view list are loaded
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1128962-pariket/+merge/151181
Your team OpenERP Community is subscribed to branch lp:~openerp-dev/openerp-web/trunk-bug-1128962-pariket.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js 2013-02-27 14:12:09 +0000
+++ addons/web/static/src/js/view_form.js 2013-03-01 10:26:26 +0000
@@ -3829,7 +3829,9 @@
else
return $.when();
}).done(function () {
- self.handle_button(name, id, callback);
+ $.when(self.o2m.is_loaded).done(function() {
+ self.handle_button(name, id, callback);
+ });
});
},