summaryrefslogtreecommitdiff
path: root/addons/auth_oauth
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-12-04 16:59:07 +0100
committerNicolas Lempereur <nle@odoo.com>2017-12-05 11:07:51 +0100
commit04bfd54013cd26d95332641789b4e2b294c4b3b5 (patch)
tree9c582a43037cfc45c61119a52a2557e5a224c404 /addons/auth_oauth
parentfe8668e509d36b48a6be0c82f46a44a0f553cbb6 (diff)
[FIX] sales_team: multicompany issue typo 3ad1867e
3ad1867e could lead to wrong results in a multicompany setting because the change got the company from the lead but it was intended to be gotten from the user. Since ('company_id', 'child_of', False) returned "root" companies, the code still got a sales team but possibly one from another company if the user was on another company that its sales team. This would lead to an access issue that this commit solves. opw-784455 closes #21428
Diffstat (limited to 'addons/auth_oauth')
0 files changed, 0 insertions, 0 deletions