summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/pdfjs/external/bcmaps/Add-RKSJ-H.bcmap
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2020-01-07 16:30:56 +0100
committerGitHub <noreply@github.com>2020-01-07 16:30:56 +0100
commitef82574418a6d957b12efe61ab594afe29428ff2 (patch)
tree0f3b1a9bdd29599ea2faae9210fcc4110eb723c7 /addons/web/static/lib/pdfjs/external/bcmaps/Add-RKSJ-H.bcmap
parente582500c4bd316711d55948d0cb820bd7f71d34a (diff)
parentbfcf237fbe2bf05c3e9b9688e319913d33a92a36 (diff)
[MERGE] partner_autocomplete_address_extended: remove broken module and ensure base_address_extended effectively works
PURPOSE Remove partner_autocomplete_address_extended and ensure base_address_extended effectively works. SPECIFICATIONS Commits a6e1eb9 and 8a1815b 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. In this merge we also * clean and improve tests in base_address_extended. Purpose is to make tests easier to understand and more data oriented. Tests about company / partner address fields are added to ensure coherency; * reorganize python code of base_address_extended according to guidelines; * rename compute / inverse methods of base_address_extended; * remove dead code from base partner model; See sub commits for more details. LINKS Task ID 2158302 PR #42678 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/lib/pdfjs/external/bcmaps/Add-RKSJ-H.bcmap')
0 files changed, 0 insertions, 0 deletions