From a302540a7a0cfe0002e2cb5a0cf5dcaf5ed47ab7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 30 Mar 2026 13:34:53 +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 0e0a064..d163819 100644 --- a/accounting/accounting_config.py +++ b/accounting/accounting_config.py @@ -112,7 +112,7 @@ class Accounting: raise e if l['amount'] is None: - debug(f'amount is None:{l["amt_pattern"]}, {self.variable=},{self.caller.bill=}') + debug(f'amount is None:{l["amt_pattern"]}, {self.variable=},{self.caller.billid=}') raise AccountingAmountIsNone(self.caller.billid) accounting_orgid = await self.caller.get_orgid_by_trans_role(sor, l, l.accounting_orgtype) orgid = await self.caller.get_orgid_by_trans_role(sor, l, l.orgtype)