ef82574418a6d957b12efe61ab594afe29428ff2
PURPOSE Remove partner_autocomplete_address_extended and ensure base_address_extended effectively works. SPECIFICATIONS Commitsa6e1eb9and8a1815badded 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>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%