diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2017-03-31 15:31:34 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2017-04-04 17:57:07 +0200 |
| commit | 3ad1867ea4d7fcda4ccfeb0a7f3d3860b16d389e (patch) | |
| tree | 679add4181820966c3ca1c362ea041ffff176273 /doc | |
| parent | 11f0a5c29fad6ecf71c92e20b0b258fe31da06f8 (diff) | |
[FIX] sales_team: get good team in multi company
When getting the default sales team, we could get erroneously the
team of another company (either because the use is in a team of another
company or the default sales team was in non-bethren company).
This fix when searching a sales team:
- search only teams the user should see (with access rules)
- make default teams "Website Sales" and "Direct Sales" not restricted
to one company (and it's ancestors).
opw-726461
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
