-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] crm: create lead from email in right sale team and company
crm lead is created with a default company_id which is the current company of the user When creating a lead from email, this logic doesn't hold, especially in v12.0 where the __system__ user is not someone real In that case, we retrieve the company from the sales team OPW 1918837 closes odoo#30146
- Loading branch information
1 parent
4a3f04b
commit 8da3f0c
Showing
2 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters