details:   https://code.tryton.org/tryton/commit/745b6c66db96
branch:    7.8
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 6f2b88f2ae9d -r 745b6c66db96 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
@@ -1348,7 +1348,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