[IMP] base_vat,l10n_br: depend on l10n_latam_base to categorize id types
This adds the two main identification types we use in Brazil. CNPJ is used the standard VAT type. The custom check_vat logic was removed because stdnum supports this out of the box. Another non-VAT CPF type was added that is checked for validity using stdnum as well. task-3475609 closes odoo/odoo#132773 Related: odoo/enterprise#46127 Related: odoo/upgrade#5062 Signed-off-by: Josse Colpaert <jco@odoo.com>
This commit is contained in:
@@ -32,6 +32,7 @@ _ref_vat = {
|
||||
'au': '83 914 571 673',
|
||||
'be': 'BE0477472701',
|
||||
'bg': 'BG1234567892',
|
||||
'br': '48.906.308/0001-27',
|
||||
'ch': 'CHE-123.456.788 TVA or CHE-123.456.788 MWST or CHE-123.456.788 IVA', # Swiss by Yannick Vaucher @ Camptocamp
|
||||
'cl': 'CL76086428-5',
|
||||
'co': 'CO213123432-1 or CO213.123.432-1',
|
||||
|
||||
Reference in New Issue
Block a user