Skip second update of chart of account when template is overridden
Closes #14879
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user