diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-10-02 14:30:20 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-10-06 11:29:25 +0000 |
| commit | 756000551be5508dce83820c7f014ded6894406f (patch) | |
| tree | d5e46717816cc63723fa20544dfbd4ce79d90bd3 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 216e2e243c9747ecbcf98c7be5d810813c494167 (diff) | |
[FIX] base_vat: check VAT numbers UAxxx
- Go to the Contacts app
- Click on the Azure Interior company, or any other company with multiple associated people
- Set the country to Mexico
- Edit the VAT field and enter the following string: UAC070620MB3
Traceback will happen after hitting save.
It happens because `self` is a recordset in this case. Moreover, while
the VAT number starts with `UA`, the country is Mexico so the check is
incorrct.
opw-2348045
closes odoo/odoo#59257
X-original-commit: 3dbdc62b3458e9af2e74d8552a17d629dc7e2393
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
