diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-03-20 09:14:18 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-03-30 06:18:34 +0000 |
| commit | 9d790bfb5ab8940f7092d427ce5c948c18400f3e (patch) | |
| tree | d43d28c31f2f6a047091eb80dd033f7f4fc74dc5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 04cc2b570003846f78ce6059d133b8e5ae000a4a (diff) | |
[FIX] base_vat: skip compacting if not vat of the country
Create a new contact with:
- Name [DEMO]
- VAT RORO790707I47
- Country Mexico
An error inform the user that the vat is not valid, this happens because
the vat number is recognized as romanian and compacted before passing
to actual vat checking. Skip the check if the country of the new
partner does not match what is detected on the vat, assuming the user
know what he/she is doing
opw-2218491
closes odoo/odoo#48273
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
