bugfix
This commit is contained in:
parent
46e134d0d3
commit
671e40bac2
@ -183,6 +183,9 @@ where accountid=${accid}$
|
|||||||
if leg['amount'] < 0.0001:
|
if leg['amount'] < 0.0001:
|
||||||
return
|
return
|
||||||
await self.overdraw_check(sor, accid, leg)
|
await self.overdraw_check(sor, accid, leg)
|
||||||
|
subjects = await sor.R('subject', {'id': leg['subjectid']})
|
||||||
|
if len(subjects) > 0:
|
||||||
|
leg['subjectname'] = subjects[0].name
|
||||||
# write acc_balance
|
# write acc_balance
|
||||||
sql = """select * from acc_balance
|
sql = """select * from acc_balance
|
||||||
where accountid=${accid}$
|
where accountid=${accid}$
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user