summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-08-17 15:48:09 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-08-20 08:41:10 +0200
commita456161680f644be44f5f4e5d8c9b9415c645df4 (patch)
tree457743e0bd661bca3d3ad7652f849decf3d3b4bf /addons/web/static/src/js/views/basic/basic_controller.js
parenta7dd10a8381098755ca54bf986747757ae3b29e4 (diff)
[FIX] sales_team: AccessError on default team
- Create 2 companies C1 and C2 - Assign User U1 in C1 - Assign the default Sales Team (`sales_team.team_sales_department`) to C2 - Create an invoice with U1 An `AccessError` is raised because the user is not allowed to access the default Sales Team. We fall back on `sales_team.team_sales_department` only if the user has read access. opw-1876966
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions