bugfix
This commit is contained in:
parent
afef7fb9fc
commit
dfd16e9a7b
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user