diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-17 11:43:29 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-28 14:57:46 +0000 |
| commit | e27f0ee7efa1419f2388e58c2531be94c7214638 (patch) | |
| tree | 31e999b4c5cdc13998c193fa5151a4ec8aa84d01 /addons/mail/static/src/js/models/threads/document_thread.js | |
| parent | 6a24660f7e56fec321357d19e1308fed42d4a5e8 (diff) | |
[FIX] web: reset the dynamic domain when discarding changes
Create record A on form view, on which a dynamic domain is added by an onchange.
Switch to kanban view. Quick create a record B. Click edit.
This sends you to the complete form view to edit the record.
The dynamic domain of A is still applied.
When discarding the changes, the _domains attribute was not reset.
Example of a model on which this flow can be reproduced is helpdesk.ticket,
with _onchange_partner_project providing the new _domain.
test courtesy of @aab-odoo
opw 1920874
closes odoo/odoo#30308
Diffstat (limited to 'addons/mail/static/src/js/models/threads/document_thread.js')
0 files changed, 0 insertions, 0 deletions
