details: https://code.tryton.org/tryton/commit/95fb6332fd9b
branch: default
user: Cédric Krier <[email protected]>
date: Tue Jun 09 10:48:51 2026 +0200
description:
Skip second update of chart of account when template is overridden
Closes #14879
diffstat:
modules/account/account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 230e1cb684b6 -r 95fb6332fd9b modules/account/account.py
--- a/modules/account/account.py Wed May 06 09:04:23 2026 +0200
+++ b/modules/account/account.py Tue Jun 09 10:48:51 2026 +0200
@@ -1347,7 +1347,7 @@
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