odoo/addons/web/static
Denis Ledoux eba1c56f97 [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
2014-12-08 15:42:24 +01:00
..
lib [FIX] web: more backports for cleditor 2014-11-03 17:47:03 +01:00
src [FIX] web: ensure one2many field destruction on button cancel 2014-12-08 15:42:24 +01:00
test [FIX]web: test testing the customer filter save was wrong, was using wrong method text() instead of val() to set the filter name 2013-10-22 18:53:18 +02:00