bugfix
This commit is contained in:
parent
dfd16e9a7b
commit
23f1e62024
@ -200,7 +200,7 @@ class Accounting:
|
|||||||
new_balance = account.balance + leg['balance_amount']
|
new_balance = account.balance + leg['balance_amount']
|
||||||
if new_balance < -0.0000001:
|
if new_balance < -0.0000001:
|
||||||
e = AccountOverDraw(accid, account.balance, leg['amount'])
|
e = AccountOverDraw(accid, account.balance, leg['amount'])
|
||||||
exception(f'{e},{legs=}')
|
exception(f'{e},{leg=}')
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
subjects = await sor.R('subject', {'id': leg['subjectid']})
|
subjects = await sor.R('subject', {'id': leg['subjectid']})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user