diff options
| author | Achraf (abz) <abz@odoo.com> | 2020-10-20 08:25:33 +0000 |
|---|---|---|
| committer | Achraf (abz) <abz@odoo.com> | 2020-10-20 08:33:24 +0000 |
| commit | 3229239c2a738cc99820dba0fce1bd1c2a3536ea (patch) | |
| tree | 23ebbfe460c7df9df255b20aca9eb1f562108725 /addons/website_form/static | |
| parent | f48fa3e33e0174f6f2eb59210532859997046856 (diff) | |
[FIX] base: Invalid parent_id field in crm.lead for Mexico
Issue
- Change country to Mexico
- Install 'CRM'
- Install 'l10n_mx_edi'
- Try to open any lead in 'CRM'
The same error is present in l10n_pe
Cause
'l10n_mx_edi' and 'l10n_pe' use 'res.partner' in 'ir.ui.view'
Solution
Adding a condition to prevent '_fields_view_get_address' in 'format.address.mixin'
from rewritting the model and let ir.ui.view determine it
opw-2361875
closes odoo/odoo#60329
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/website_form/static')
0 files changed, 0 insertions, 0 deletions
