Chirag Patel (OpenERP) has proposed merging lp:~openerp-dev/openerp-web/7.0-opw-584981-cpa into lp:openerp-web/7.0.
Requested reviews: OpenERP Core Team (openerp) Related bugs: Bug #1103507 in OpenERP Web: "[trunk/7.0]can't save object with deleted invalid row in editable tree" https://bugs.launchpad.net/openerp-web/+bug/1103507 For more details, see: https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-584981-cpa/+merge/145602 Hello, Can't save object with deleted invalid row in editable tree. Reproduce Issue: check the related bug #1103507 description. Thanks -- https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-584981-cpa/+merge/145602 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openerp-web/7.0-opw-584981-cpa.
=== modified file 'addons/web/static/src/js/view_list_editable.js' --- addons/web/static/src/js/view_list_editable.js 2012-12-10 10:09:14 +0000 +++ addons/web/static/src/js/view_list_editable.js 2013-01-30 13:32:52 +0000 @@ -88,6 +88,8 @@ do_delete: function (ids) { var nonfalse = _.compact(ids); var _super = this._super.bind(this); + var form = this.editor.form; + form.$el.removeClass('oe_form_dirty'); var next = this.editor.is_editing() ? this.cancel_edition(true) : $.when();
_______________________________________________ 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