From eafa56eca74f5b9b00d848522a1394f511fbee27 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 4 Jan 2026 16:13:48 +0800 Subject: [PATCH] bugfix --- accounting/accounting_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accounting/accounting_config.py b/accounting/accounting_config.py index 901cb0d..d874f86 100644 --- a/accounting/accounting_config.py +++ b/accounting/accounting_config.py @@ -38,6 +38,7 @@ class Accounting: get_account(leg,accounting_orgid) 获得记账账号(通过科目,机构类型,账务机构确定一个唯一的账号) """ def __init__(self, caller): + debug(f'caller={caller}') if isinstance(caller, list): self.callers = caller caller = self.callers[0] @@ -47,6 +48,7 @@ class Accounting: async def setup_all_accounting_legs(self): self.accounting_legs = [] + debug(f'{self.callers=}') for caller in self.callers: self.caller = caller self.curdate = caller.curdate