From c79ba741a4e307f556d7483f5af29926d1c1c579 Mon Sep 17 00:00:00 2001 From: Florent THOMAS Date: Thu, 16 Jan 2020 18:19:54 +0100 Subject: [PATCH] also change the way sequence is computed --- account_financial_report_qweb/report/trial_balance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report_qweb/report/trial_balance.py b/account_financial_report_qweb/report/trial_balance.py index 66d66cd0..d24192f0 100644 --- a/account_financial_report_qweb/report/trial_balance.py +++ b/account_financial_report_qweb/report/trial_balance.py @@ -551,7 +551,7 @@ WHERE report_trial_balance_qweb_account.account_group_id = accgroup.id account account.""" query_update_account_group = """ UPDATE report_trial_balance_qweb_account -SET sequence = CONCAT(newline.sequence, newline.code),, +SET sequence = CONCAT(newline.sequence, newline.code), level = newline.level + 1 FROM report_trial_balance_qweb_account as newline WHERE newline.account_group_id = report_trial_balance_qweb_account.parent_id