summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread/thread.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-10-26 10:10:33 +0000
committerNicolas Martinelli <nim@odoo.com>2020-10-27 13:53:37 +0000
commit54ef98c613219aba3bda41817f7767261b8092d2 (patch)
tree8577855529c9aea99abeff7835bd946964f62de3 /addons/mail/static/src/models/thread/thread.js
parent67152bf82da2674179297d32e4cec9dd534fa0c9 (diff)
[FIX] account, purchase, sale: portal access error
- Install account / purchase / sale - Ceate an internal user without any access rights - Go to `/my` A 500 error is raised because of an AccessError. When the user has no access rights to any of the mentioned applications, the `search` call returns an AccessError. We prevent the access error and return 0 as a fallback. opw-2367559 closes odoo/odoo#60824 X-original-commit: e2d1688a47e01ac55f95beb8c69bb9bec9a13b32 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread/thread.js')
0 files changed, 0 insertions, 0 deletions