bugfix
This commit is contained in:
parent
46e134d0d3
commit
671e40bac2
@ -183,6 +183,9 @@ where accountid=${accid}$
|
||||
if leg['amount'] < 0.0001:
|
||||
return
|
||||
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
|
||||
sql = """select * from acc_balance
|
||||
where accountid=${accid}$
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user