diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2018-11-07 09:47:44 +0000 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2019-02-07 15:11:51 +0000 |
| commit | e67b22946d506f4784a1813404ebcb04d25c5e29 (patch) | |
| tree | 11e728f1d4058eb7f6999b4409969bb6ad93a1da /addons/web/static/lib/select2-bootstrap-css | |
| parent | 29219b9c938ca9bcd373154c4101fd20c6bbfb18 (diff) | |
[FIX] base_vat: belgian vat number correct display
Odoo Accept the following mask for vat encoding :
BE0477472701
BE.0.477.472.701
BE.477.472.701
BE477.472.701
BE477472701
But, in certain cases we have to add the zero to be compliance (i.e. belgian official reports...). -> http://www.tvaintracommunautaire.eu/belgique.html
This commit make use of the compact method defined in stdnum.be.vat (which is used by vatnumber in order to validate the vat). The compact method return a 10 digits vat number starting with a 0 which is compliant with the official reports.
closes odoo/odoo#28523
Diffstat (limited to 'addons/web/static/lib/select2-bootstrap-css')
0 files changed, 0 insertions, 0 deletions
