details:   https://code.tryton.org/tryton/commit/aaa87072364f
branch:    7.0
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
        (grafted from 95fb6332fd9bc92f81a87d0c07ae814ae69ed059)
diffstat:

 modules/account/account.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 95c9b1938159 -r aaa87072364f modules/account/account.py
--- a/modules/account/account.py        Thu Jun 18 14:55:21 2026 +0200
+++ b/modules/account/account.py        Tue Jun 09 10:48:51 2026 +0200
@@ -1374,7 +1374,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

Reply via email to