From e6002ec4a010916f3885e149b4e492608a4e7f13 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 14 Apr 2026 11:40:51 +0800 Subject: [PATCH] bugfix --- accounting/accounting_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/accounting_config.py b/accounting/accounting_config.py index 465ca2e..9a6f7ec 100644 --- a/accounting/accounting_config.py +++ b/accounting/accounting_config.py @@ -222,7 +222,7 @@ where accountid=${accid}$ await sor.C('acc_balance', ns.copy()) else: ns = recs[0] - ns['balance'] += new_balance + ns['balance'] = new_balance await sor.U('acc_balance', ns.copy()) # summary = self.summary