odoo/odoo#157885

Created by Amzil Ayoub (amay)
label
odoo-dev:17.0-l10n_id-new-vat-regulation-amay
head
da8e39281a4e850c94648c87f5b5f2ee7b708fbc
target
17.0
merged
3 weeks ago by Accounting, Quentin De Paoli
forward-ports

[FIX] l10n_id: adapt the check to the new VAT regulation

The issue:
Currently, in Indonesia, the regulation for tax ID is 15 digits.
But a new regulation is coming where Tax ID is now 16 digits by adding 0 in front

The fix:
Remove the first zero and leave the rest for the _run_vat_test function

Related PR: odoo/odoo#146111

opw-3782636