Chris Biersbach (OpenERP) has proposed merging lp:~openerp-dev/openerp-int/cmk-opw-584089-cbi into lp:~openerp-dev/openerp-int/mck_addons.
Requested reviews: OpenERP R&D Team (openerp-dev) For more details, see: https://code.launchpad.net/~openerp-dev/openerp-int/cmk-opw-584089-cbi/+merge/142868 The issue: When closing a wizard, the "x records selected" does not reset despite the fact that the records are being deselected. The fix: I overrode the list view's reload_content method to reset the text to an empty string. -- https://code.launchpad.net/~openerp-dev/openerp-int/cmk-opw-584089-cbi/+merge/142868 Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-dev/openerp-int/cmk-opw-584089-cbi into lp:~openerp-dev/openerp-int/mck_addons.
=== modified file 'mck_web_addons/static/src/js/change_m2o.js' --- mck_web_addons/static/src/js/change_m2o.js 2012-11-23 10:36:39 +0000 +++ mck_web_addons/static/src/js/change_m2o.js 2013-01-11 11:01:25 +0000 @@ -579,6 +579,10 @@ this.$element.find('.oe-list-selected-element').text(text) return this._super.apply(this, arguments); }, + reload_content: function () { + this.$element.find('.oe-list-selected-element').text(""); + return this._super.apply(this, arguments); + } });
_______________________________________________ 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