From 85b4f7f4ac2f659a16690071126f7dfbd7a3fbb7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 6 Jan 2026 14:08:24 +0800 Subject: [PATCH] bugfix --- accounting/accounting_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounting/accounting_config.py b/accounting/accounting_config.py index 999a4b0..350bc09 100644 --- a/accounting/accounting_config.py +++ b/accounting/accounting_config.py @@ -75,7 +75,7 @@ class Accounting: ) ) self.accounting_legs = legs - self.get_legs_account() + await self.get_legs_account() async def setup_accounting_legs(self, pos): sor = self.sor @@ -118,7 +118,7 @@ class Accounting: l['org1id'] = org1id self.accounting_legs += legs - def get_legs_account(self): + async def get_legs_account(self): sor = self.sor oldk = '' acc = None