diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-06-23 14:06:03 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-06-27 14:12:31 +0200 |
| commit | 4881f942cb7cad51b8472425830c8444cfe09d1a (patch) | |
| tree | 870af496c0b031bd75d6cae6dd14d2b43b77280c /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 17e198153ecfd9c5c32b3b22f43e2f1b8100a1c3 (diff) | |
[FIX] web: BasicModel: correctly eval x2manys in domains
When x2many fields have to be evaluated in domains (e.g. ['id',
'in', some_x2many_field]), they must be evaluated as the list of
ids in the relation (whereas in contexts, they are evaluated as a
list of commands). Before this rev., they were always evaluated as
a list of commands.
Note that this didn't work neither before the new views.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
