diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index d84a3a7cc04..4bd84cd5037 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -318,7 +318,7 @@ class AccountChartTemplate(models.Model): AccountTaxObj = self.env['account.tax'] # Generate taxes from templates. - generated_tax_res = self.tax_template_ids._generate_tax(company) + generated_tax_res = self.with_context(active_test=False).tax_template_ids._generate_tax(company) taxes_ref.update(generated_tax_res['tax_template_to_tax']) # Generating Accounts from templates. diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 064375374cf..f8679f58ab8 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -941,12 +941,13 @@ account.tax.tree account.tax - + + @@ -983,6 +984,9 @@ + + + @@ -996,6 +1000,11 @@
+
+ +
@@ -1039,7 +1048,6 @@ - @@ -1061,7 +1069,7 @@ form tree,kanban,form - {'search_default_sale': True, 'search_default_purchase': True} + {'search_default_sale': True, 'search_default_purchase': True, 'active_test': False} diff --git a/addons/l10n_be/data/account_tax_template_data.xml b/addons/l10n_be/data/account_tax_template_data.xml index 2876dd1f6ba..8032d014f0c 100644 --- a/addons/l10n_be/data/account_tax_template_data.xml +++ b/addons/l10n_be/data/account_tax_template_data.xml @@ -149,6 +149,7 @@ 21 percent sale + @@ -175,6 +176,7 @@ 12 percent sale + @@ -201,6 +203,7 @@ 6 percent sale + @@ -227,6 +230,7 @@ 0 percent sale + @@ -266,6 +270,7 @@ 0 percent sale + @@ -292,6 +297,7 @@ 0 percent sale + @@ -383,6 +389,7 @@ 21 percent purchase + @@ -396,6 +403,7 @@ 21 percent purchase + @@ -409,6 +417,7 @@ 12 percent purchase + @@ -422,6 +431,7 @@ 12 percent purchase + @@ -435,6 +445,7 @@ 6 percent purchase + @@ -448,6 +459,7 @@ 6 percent purchase + @@ -461,6 +473,7 @@ 0 percent purchase + @@ -474,6 +487,7 @@ 0 percent purchase + @@ -487,6 +501,7 @@ 21 percent purchase + @@ -500,6 +515,7 @@ 12 percent purchase + @@ -513,6 +529,7 @@ 6 percent purchase + @@ -526,6 +543,7 @@ 0 percent purchase + @@ -599,6 +617,7 @@ group 12 purchase + @@ -636,6 +655,7 @@ group 6 purchase + @@ -650,6 +670,7 @@ 0 percent purchase + @@ -686,6 +707,7 @@ 0 group purchase + @@ -723,6 +745,7 @@ 12 group purchase + @@ -760,6 +783,7 @@ 1 group purchase + @@ -774,6 +798,7 @@ 0 percent purchase + @@ -810,6 +835,7 @@ 1 group purchase + @@ -847,6 +873,7 @@ 1 group purchase + @@ -884,6 +911,7 @@ 1 group purchase + @@ -898,6 +926,7 @@ 0 percent purchase + @@ -1009,6 +1038,7 @@ 12 group purchase + @@ -1046,6 +1076,7 @@ 6 group purchase + @@ -1060,6 +1091,7 @@ 0.0 percent purchase + @@ -1096,6 +1128,7 @@ 21 group purchase + @@ -1133,6 +1166,7 @@ 21 group purchase + @@ -1170,6 +1204,7 @@ 1 group purchase + @@ -1207,6 +1242,7 @@ 12 group purchase + @@ -1244,6 +1280,7 @@ group 6 purchase + @@ -1281,6 +1318,7 @@ 1 group purchase + @@ -1295,6 +1333,7 @@ 0.0 percent purchase + @@ -1331,6 +1370,7 @@ 1 group purchase + @@ -1345,6 +1385,7 @@ 0 percent purchase + @@ -1381,6 +1422,7 @@ group 12 purchase + @@ -1418,6 +1460,7 @@ group 6 purchase + @@ -1432,6 +1475,7 @@ 0.0 percent purchase + @@ -1505,6 +1549,7 @@ group purchase + @@ -1542,6 +1587,7 @@ 1 group purchase + @@ -1556,6 +1602,7 @@ 0.0 percent purchase + @@ -1592,6 +1639,7 @@ group purchase + @@ -1629,6 +1677,7 @@ group 12 purchase + @@ -1666,6 +1715,7 @@ group purchase 6 + @@ -1680,6 +1730,7 @@ 0.0 percent purchase + @@ -1716,6 +1767,7 @@ group purchase + @@ -1753,6 +1805,7 @@ group 12 purchase + @@ -1790,6 +1843,7 @@ group purchase 6 + @@ -1804,6 +1858,7 @@ 0.0 percent purchase +