From ad244434ad0efe116e491a64e40f8326f4d1a021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 9 Jun 2026 10:48:51 +0200 Subject: [PATCH] Skip second update of chart of account when template is overridden Closes #14879 (grafted from 95fb6332fd9bc92f81a87d0c07ae814ae69ed059) --HG-- branch : 7.0 --- modules/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/account.py b/modules/account/account.py index 062605b0a4..e57fa2f93e 100644 --- a/modules/account/account.py +++ b/modules/account/account.py @@ -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