diff options
| author | wan <wan@odoo.com> | 2021-02-09 08:49:24 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2021-02-10 12:22:42 +0000 |
| commit | 9a46cc7ad89544a5669b4e5a7ae8b6c31d52eab3 (patch) | |
| tree | 8091dcce037f8f9e4a198fb9c5a67dfdfb65219f /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 696819972d5a51f826fb675f0cb712f819c2cdf4 (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/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
