diff options
| author | Goffin Simon <sig@odoo.com> | 2018-07-23 16:23:17 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-24 09:54:29 +0200 |
| commit | ca14f232e0ec9e794ec1ef2b2c160579b2c89a6d (patch) | |
| tree | 03a4b4f982bc2b39d4a9411ec44d6ff534dfea6b /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 219d2296d67488855891573c979857c5fbfd1ebe (diff) | |
[FIX] base_vat_autocomplete: Create contact using VAT number
Let's install base_vat_autocomplete and base_address_extended
When creating a contact with a VAT number, the street was not
formated by the autocomplete in a correct way because the function checkVat all the time
returns the street with the following format: '%(street_name)s, %(street_number)s/%(street_number2)s'
and this function doesn't take the street format of the country into account.
So the function _split_street tried to split the street into street_name, street_number, street_number2 with the
street_format of the partner but the street was not well formated by checkVat.
opw:1867491
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
