summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2021-02-09 08:49:24 +0000
committerwan <wan@odoo.com>2021-02-10 12:22:42 +0000
commit9a46cc7ad89544a5669b4e5a7ae8b6c31d52eab3 (patch)
tree8091dcce037f8f9e4a198fb9c5a67dfdfb65219f /addons/web/static/src/js
parent696819972d5a51f826fb675f0cb712f819c2cdf4 (diff)
[FIX] base_vat: not called at all
The function was wrongly imported and used, and it was hidden by a generic catching of all exceptions. The return value and some legit exceptions were also badly handled: * The return value was always thruthy as it returns an object containing information about the check. * Exceptions can be raised if the format is not correct. In that case, we don't want to go to the simple vat check. Fixes #64897 opw-2451951 closes odoo/odoo#65771 Signed-off-by: William André (wan) <wan@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions