diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-03-29 22:01:07 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 8f8e8b6e0ea0500b9e63ab604967268672a3a352 (patch) | |
| tree | 8e4bd62c82b96da4c75e63449937e41c2d0d4a7c /addons/web/static/src/xml/base.xml | |
| parent | c43a3a5045945658add54a220c02cf0f23c03833 (diff) | |
[FIX] web: Domain: don't return frozen domain
In a recent commit, the fields object describing all fields of a
model is (deeply) frozen by the data_manager. As a consequence, if
a field has a domain (represented by an Array), this domain is
frozen as well.
Moreover, when the function getDomain is called on a dataPoint,
the returned domain is the one in fields, not a copy.
Problem is that the Many2One field updates this domain to add the
blacklisted ids, which produces an error if the domain is frozen.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
