[FIX] account: auto-install account_avatax in Canada not Brazil

Small issue in 7032917771. account_avatax supports the US and
Canada. l10n_br_avatax supports Brazil.

closes odoo/odoo#136893

Signed-off-by: Quentin De Paoli <qdp@odoo.com>
This commit is contained in:
Joren Van Onder
2023-10-05 08:08:57 +00:00
committed by qdp-odoo
parent d615c5bfaa
commit 9444a3e0c4
+1 -1
View File
@@ -37,7 +37,7 @@ def _auto_install_l10n(env):
def _auto_install_avatax(env):
""" Install the avatax module automatically if the company is in a country that uses avatax """
avatax_country_codes = ['US', 'BR']
avatax_country_codes = ['US', 'CA']
country = env.company.country_id
country_code = country.code