diff options
| author | Jeremy Kersten <jke@odoo.com> | 2019-01-24 15:21:13 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-01-25 10:32:38 +0000 |
| commit | 1599d0bc42d1cc4057e5e9b01e1dd924da4ae566 (patch) | |
| tree | eb8e8da88107792a32254562be6e5a59505b711d /odoo/modules/module.py | |
| parent | 94a3b3ca8fafb55b22836f222e414b6771658ecf (diff) | |
[FIX] sale: use team_id of saleman before team_id of partner
Before this commit, when we crate a sale, we use the team_id of the partner
even if a saleman has been assigned from another team.
Now we use the saleteam of the saleman if it exists before the saleteam directly.
Task-phung
Fixed case:
Partner are created from lead assigned to Partnership
So team_id on partner are Partnership
After, we assign a saleman to the partner from AM
At each SO, the team_id is Partnership instead of AM
closes odoo/odoo#30549
Diffstat (limited to 'odoo/modules/module.py')
0 files changed, 0 insertions, 0 deletions
