summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorToufik Ben Jaa <tbe@odoo.com>2019-05-31 14:54:28 +0000
committerToufik Ben Jaa <tbe@odoo.com>2019-05-31 14:54:28 +0000
commit7576ae519f8fec1a5293e171fd29612f546cba97 (patch)
treed86f0aec20d2ae8a0f1b2351a9547f565c49486c /addons/web/static/src/js
parent995aa1685eece9ff1070a637d19d511fb1f80260 (diff)
[FIX] base: avoid crash on empty record rule domain
- Since 12.2 when a record rule forbids you to access a record an error message is displayed with the list of the record rules that have forbid the access and an example of the forbidden records. The issue here is that a specific message is displayed to warn the user that the record rule may be a "Multi-company" record rule. To do so, it checks if `company_id` is present in the record rules' domain but if the domain is empty it crashes. OPW-2004827 closes odoo/odoo#33801 Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions