details:   https://code.tryton.org/tryton/commit/124bf7e5b139
branch:    8.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 573400a89c6f -r 124bf7e5b139 modules/account/account.py
--- a/modules/account/account.py        Thu Jun 18 15:49:10 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

Reply via email to