[FIX] web: do not set the one2many dirty on field validation
authorDenis Ledoux <dle@odoo.com>
Fri, 14 Nov 2014 14:49:39 +0000 (15:49 +0100)
committerDenis Ledoux <dle@odoo.com>
Fri, 14 Nov 2014 14:52:58 +0000 (15:52 +0100)
commitda15c9d27b420e7643048dfab07aebcf94b92b4a
treed3561da0a6ce9c4b06c39d2e8f0e5a4df13aa0cb
parent3613b74df37a5a0c7bc2479a4b18471e6036e0a9
[FIX] web: do not set the one2many dirty on field validation

This rev. 06104ba553702b16878d52c5b8ab089355216a5e

Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.

It looks like this is now the case

Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
addons/web/static/src/js/view_form.js