[FIX] account: add _run_vat_test in account to avoid base_vat dependency
This way, it can be used without having to add the dependency to
`base_vat`. For instance, in `account_edi_ubl_cii` in
`_import_retrieve_and_fill_partner`.
This commit essentially backports part of commit
212be2920affdab5baf14b3025ef31ee2d6a652b
closes odoo/odoo#135977
Signed-off-by:
Laurent Smet (las) <las@odoo.com>
Showing
- addons/account/models/partner.py 15 additions, 0 deletionsaddons/account/models/partner.py
- addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py 2 additions, 1 deletion...account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py
- addons/base_vat/models/res_partner.py 1 addition, 14 deletionsaddons/base_vat/models/res_partner.py
Loading