diff options
| author | Anh Thao Pham (pta) <pta@odoo.com> | 2020-09-11 12:48:28 +0000 |
|---|---|---|
| committer | Anh Thao Pham (pta) <pta@odoo.com> | 2020-09-14 11:11:09 +0000 |
| commit | a734aa9b2f2bce06989bf09f3096d0d631ccd438 (patch) | |
| tree | 82281de33c4b289f8c0f60f28794fcc6124580c9 /addons/web/static/src | |
| parent | 2081048662c219a181d7309307f021f02fb43739 (diff) | |
[FIX] crm: fix res.partner creation from Leads
- Go to CRM > Settings and activate Leads
- Go to CRM > Leads and create 2 Leads with a different phone number
- Select the 2 created Leads and in Action menu, select Send email
- Make sure that "Lead/Opportunity: Mass Mail" is selected as template
- Send it
- Go to Contacts
2 Contacts have been created from the Leads, but both have the same phone number.
The issue comes from the override `default_get` of `res.partner` in crm module.
It is using `active_id` from context to fetch the Lead to populate Partner data.
This cannot work when several Leads are selected as the same `active_id` is used
for all of them.
opw-2333819
closes odoo/odoo#57632
X-original-commit: a84dcfb9475051082c6103f81bfa231ea50ed157
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
