odoo/odoo#157885
Created by Amzil Ayoub (amay)
Merged
at 695ff395cd9d4a6f575273736ed0af49d5ca3554
- 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
- odoo/odoo#163673 targeting master
- odoo/odoo#163653 targeting saas-17.2
- odoo/odoo#163633 targeting saas-17.1
[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