Anaƫl Closson (openerp) has proposed merging lp:~openerp-dev/openerp-web/6.1-opw-581137-acl into lp:openerp-web/6.1.
Requested reviews: OpenERP R&D Team (openerp-dev) Related bugs: Bug #944854 in OpenERP Web: "[m2o] context menu icon causes "member not found" error in IE8 first time it is clicked" https://bugs.launchpad.net/openerp-web/+bug/944854 For more details, see: https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-581137-acl/+merge/146594 Impacted browser : IE 8 Steps to reproduce : * Go to sale order * Create a new one * Click on customer field box for searching a customer (works with each m2o search/open/create button) IE 8 behavior : an exception is raised the first click on the box Other browser behavior : the popup menu is opened when clicking on the box. -- https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-581137-acl/+merge/146594 Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-dev/openerp-web/6.1-opw-581137-acl into lp:openerp-web/6.1.
=== modified file 'addons/web/static/src/js/view_form.js' --- addons/web/static/src/js/view_form.js 2012-12-04 11:02:12 +0000 +++ addons/web/static/src/js/view_form.js 2013-02-05 09:58:37 +0000 @@ -356,6 +356,9 @@ }, do_onchange: function(widget, processed) { var self = this; + if (processed == "product_uom_qty") + debugger; + return this.on_change_mutex.exec(function() { try { var response = {}, can_process_onchange = $.Deferred(); @@ -1469,7 +1472,6 @@ return this.get_value(); }, update_dom: function(show_invalid) { - console.log('update_dom: show_invalid', show_invalid); this._super.apply(this, arguments); if (this.field.translate) { this.$element.find('.oe_field_translate').toggle(!!this.view.datarecord.id); @@ -2117,7 +2119,7 @@ return true; }, menuStyle: {width: "200px"} }); - $.async_when().then(function() {self.$menu_btn.trigger(e);}); + $.when().then(function() {self.$menu_btn.trigger(e);}); }); }); this.$menu_btn.bind({
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp