bugfix
This commit is contained in:
parent
7886376c0e
commit
5a3b7489c0
@ -171,6 +171,8 @@ class Accounting:
|
||||
self.sor = sor
|
||||
await self.setup_all_accounting_legs()
|
||||
debug(f'do_accounting() ...{self.accounting_legs=}')
|
||||
legs = [ l for l in self.accounting_legs if l['amount'] > 0.0001 ]
|
||||
self.accounting_legs = legs
|
||||
self.check_accounting_balance(self.accounting_legs)
|
||||
for leg in self.accounting_legs:
|
||||
await self.leg_accounting(sor, leg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user