[13.0][FIX]account_chart_update inactive taxes false positives
This commit is contained in:
parent
796b056c9b
commit
5662dfe483
@ -722,10 +722,10 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
result.append(
|
result.append(
|
||||||
_("Differences in these fields: %s.") % ", ".join(different_fields)
|
_("Differences in these fields: %s.") % ", ".join(different_fields)
|
||||||
)
|
)
|
||||||
# Special for taxes
|
# Special for taxes
|
||||||
if template._name == "account.tax.template":
|
if template._name == "account.tax.template":
|
||||||
if not real.active:
|
if not real.active:
|
||||||
result.append(_("Tax is disabled."))
|
result.append(_("Tax is disabled."))
|
||||||
return "\n".join(result)
|
return "\n".join(result)
|
||||||
|
|
||||||
@tools.ormcache("self", "template", "real_obj")
|
@tools.ormcache("self", "template", "real_obj")
|
||||||
|
Loading…
Reference in New Issue
Block a user