bugfix
This commit is contained in:
parent
7ced11b4a2
commit
709664b363
@ -175,8 +175,9 @@ class Accounting:
|
|||||||
sor = self.sor
|
sor = self.sor
|
||||||
await sor.C('settle_log', ns)
|
await sor.C('settle_log', ns)
|
||||||
|
|
||||||
async def leg_accounting(self, sor, accid, leg):
|
async def leg_accounting(self, sor, leg):
|
||||||
# print(f'leg_accounting(), {accid=}, {leg=}')
|
# print(f'leg_accounting(), {leg=}')
|
||||||
|
accid = leg['accid']
|
||||||
if leg['amount'] < 0.00001:
|
if leg['amount'] < 0.00001:
|
||||||
return
|
return
|
||||||
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