diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-01-03 11:21:41 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-07 14:53:45 +0000 |
| commit | bfcf237fbe2bf05c3e9b9688e319913d33a92a36 (patch) | |
| tree | 0f3b1a9bdd29599ea2faae9210fcc4110eb723c7 /addons/web/static/src | |
| parent | fecea95ed854307a24251f05e81cf22375162980 (diff) | |
[REM] partner_autocomplete_address_extended: remove broken module
Commits a6e1eb9f0ad285fac7d0ca0b9f89f046d78ec9c7 and 8a1815b31eacc148d6e98795899ee24a9ca8cab1 added among a lot of other things
a bridge module between ``partner_autocomplete`` and ``base_address_extended``.
It is used only to redefine the ``_split_street_with_params`` method from
``base_address_extended``. This method is used to find street name, number and
number2 from an address, given a format coming from the country.
However the override completely fucks up the original method purpose and uses
an hardcoded regex coming out of the blue. Parameters like country format is
not taken into account which is annoying when trying to parse country dependent
data.
Tests from ``base_address_extended`` crash completely when used with the
``partner_autocomplete_address_extended`` implementation.
Considering the original complete specifications from commits
"""
For Name field or M2O, gives a list of companies
Data comes from Odoo IAP Service
"""
Or specs found in the original task ID 1867818 pad
"""
If Extended Address module is installed, the street number should be correctly
splitted Or the complete address is put in street2 if impossible to parse
"""
we think that this implementation is broken by design. Indeed there is no
mention of street2 anywhere in the code, and this implementation ensure street
will never be correctly split. We therefore remove it completely.
Task ID 2158302
PR odoo/odoo#42678
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
