summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-08-29 13:41:28 +0200
committerAaron Bohy <aab@odoo.com>2017-08-29 13:59:49 +0200
commit4f61e7f0481fa2e2bfd806d92ea77f07b78d42de (patch)
tree7f48d41776b67e5940766b9af989acbd3d6141ed /addons/web/static/src/js/views/basic/basic_controller.js
parentc5bf53682e159343ee0c707f6d7f2da972d6add2 (diff)
[FIX] web: WidgetDomain: don't crash on false domain
Before this rev., when the value of a field with widget='domain' was false, the search_count RPC made to display the number of records matching the domain crashed, and the widget displayed that the domain was invalid. This rev. adds a fallback on [] when the domain is false.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions