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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user