diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-03-05 17:13:47 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-04-03 11:24:35 +0000 |
| commit | 23afec1b8d631093a7e8b384f85f3c6fe4b45f14 (patch) | |
| tree | b99642c8144da89102afd6a12d0df3663e419686 /addons/base_geolocalize/models/base_geocoder.py | |
| parent | 663597b50f1fab36648c16ba132c924908435a96 (diff) | |
[FIX] l10n_multilang: avoid module conflicts
In case two modules are using the same local name for their external identifier,
a conflict may occure.
e.g. the templates
- l10n_generic_coa.a_salary_expense
- l10n_be.a_salary_expense
will generate
- l10n_generic_coa.1_a_salary_expense
- l10n_be.2_a_salary_expense
As the previous search for in_xml_ids was using a domain
('name', '=', 'a_salary_expense')
both records were returned, making in_ids to have one more record than out_ids
Followup of review made at odoo/odoo#31510
closes odoo/odoo#31604
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/base_geolocalize/models/base_geocoder.py')
0 files changed, 0 insertions, 0 deletions
