Skip second update of chart of account when template is overridden

Closes #14879
This commit is contained in:
Cédric Krier
2026-06-09 10:48:51 +02:00
parent 6467856e6f
commit 0c1652ca99
+1 -1
View File
@@ -1347,7 +1347,7 @@ class Account(
childs = [self]
while childs:
for child in childs:
if not child.template:
if not child.template or child.template_override:
continue
values = {}
tax_ids = [template2tax[x.id] for x in child.template.taxes