From 5662dfe483d1936b710a5b93527289bc362a6cd9 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Mon, 7 Sep 2020 09:52:31 +0200 Subject: [PATCH] [13.0][FIX]account_chart_update inactive taxes false positives --- account_chart_update/wizard/wizard_chart_update.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 1b1923b3..0c95dee6 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -722,10 +722,10 @@ class WizardUpdateChartsAccounts(models.TransientModel): result.append( _("Differences in these fields: %s.") % ", ".join(different_fields) ) - # Special for taxes - if template._name == "account.tax.template": - if not real.active: - result.append(_("Tax is disabled.")) + # Special for taxes + if template._name == "account.tax.template": + if not real.active: + result.append(_("Tax is disabled.")) return "\n".join(result) @tools.ormcache("self", "template", "real_obj")