Skip second update of chart of account when template is overridden

Closes #14879
(grafted from 95fb6332fd9bc92f81a87d0c07ae814ae69ed059)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-06-09 10:48:51 +02:00
parent 3c2ad42587
commit 16005ba031
+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