This commit is contained in:
yumoqing 2025-12-27 11:45:25 +08:00
parent 055463afc3
commit e027352f39

View File

@ -86,7 +86,7 @@ class Accounting:
async def setup_accounting_legs(self): async def setup_accounting_legs(self):
action = self.action.split('_')[0] action = self.action.split('_')[0]
acfg = get_accounting_config(self.sor) acfg = await get_accounting_config(self.sor)
legs = [r.copy() for r in acfg legs = [r.copy() for r in acfg
if r.action == action ] if r.action == action ]
debug(f'{legs=}') debug(f'{legs=}')