Skip second update of chart of account when template is overridden

Closes #14879
(grafted from 95fb6332fd9bc92f81a87d0c07ae814ae69ed059)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2026-06-09 10:48:51 +02:00
parent af189dddaa
commit ad244434ad
+1 -1
View File
@@ -1374,7 +1374,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