summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2014-12-08 15:33:43 +0100
committerDenis Ledoux <dle@odoo.com>2014-12-08 15:42:24 +0100
commiteba1c56f9798681eb94496452fb6aed898e7e18c (patch)
treedac4ba9bbc685fad90fa2479e8ea9c60f5d9e85c /doc/reference/javascript.rst
parent284ca73b1c6fd70352a2829f5b2cea92647348e2 (diff)
[FIX] web: ensure one2many field destruction on button cancel
The destruction of one2many fields is forced with the event change:effective_readonly This revision add the forced destruction for cancel(discard) button as well Otherwise, one2many fields are not properly destroyed when hitting the button "discard" (from save or discard). This can be problematic for one2many editable list views (such as invoice lines) if you discard while having a mandatory field not filled in the invoice line: You can't recreate an invoice, the one2many editable list is messed up Use case: Create an invoice, create a line, leave the description, required field, empty. Then, discard. Then, click on create. opw-616946
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions