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