diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-08-17 15:48:09 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-08-20 08:41:10 +0200 |
| commit | a456161680f644be44f5f4e5d8c9b9415c645df4 (patch) | |
| tree | 457743e0bd661bca3d3ad7652f849decf3d3b4bf /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a7dd10a8381098755ca54bf986747757ae3b29e4 (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
