diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-06-28 14:01:59 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-06-28 14:05:58 +0000 |
| commit | b9889e081e3ac0da12709e639bd2382dbca6a2e8 (patch) | |
| tree | de81aff745977fcd97c98bce4bb8d7f78dc7215d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f40ca3bbb7ad2ee9bcbe94c07535aa0c3561c528 (diff) | |
[FIX] pos_cache: eval domain before sending it to server
Since changes made on 'product.product' model in rev: 30e4d89a62c21e76db651ca54f8c132b96e7668d
the domain is not represented as a string, but as a function, and that
leads to error as the javascript function is sent to the server instead
of a string representing a domain.
So we check the type of domain to see if we have to evaluate a function
or send the domain as a string
closes odoo/odoo#34453
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
