summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-11-06 09:52:33 +0100
committerAaron Bohy <aab@odoo.com>2017-11-07 15:33:23 +0100
commit0f638b3c6315d2cf60109de171bba92c6a28b6c4 (patch)
treea83abde79d915c0ecad4d15ddf1c4b37b474b7df /addons/web/static/src/js/views/basic/basic_model.js
parent255478acbd66f01daf32422636f09f2014ebc9f8 (diff)
[FIX] web: correctly evaluate domains and contexts in dialogs
An error occurred if the domain or context applied on a view opened in a dialog needed to be evaluated (e.g. if they contained something like [['some_field', '=', uid]]). For instance, create a custom filter with such a domain for the Contact model, then go to Contact, create a new one, and on the parent_id many2one, click on search more. Before this rev, no eval context was given so the domains and contexts couldn't be evaluated, and it crashed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions