This commit is contained in:
yumoqing 2026-04-14 11:25:42 +08:00
parent afef7fb9fc
commit dfd16e9a7b

View File

@ -199,7 +199,7 @@ class Accounting:
account = accounts[0]
new_balance = account.balance + leg['balance_amount']
if new_balance < -0.0000001:
e = AccountOverDraw(curacc, l['acc'].balance, l['amount'])
e = AccountOverDraw(accid, account.balance, leg['amount'])
exception(f'{e},{legs=}')
raise e