mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[13.0][FIX]account_chart_update inactive taxes false positives
This commit is contained in:
committed by
Fernando La Chica
parent
f193829cc4
commit
961005777f
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user