bugfix
This commit is contained in:
parent
85b4f7f4ac
commit
ff7c393447
@ -70,8 +70,8 @@ async def getAccountBalance(sor, accounting_orgid, orgid, subjectname, org1id):
|
|||||||
acc = await getAccountByName(sor, accounting_orgid,
|
acc = await getAccountByName(sor, accounting_orgid,
|
||||||
orgid,
|
orgid,
|
||||||
subjectname,org1id)
|
subjectname,org1id)
|
||||||
if accid is None:
|
if acc is None:
|
||||||
debug(f'accid is None, {accounting_orgid=}, {orgid=}, {subjectname=}')
|
debug(f'accid is None, {accounting_orgid=}, {orgid=}, {subjectname=}, {org1id=}')
|
||||||
return None
|
return None
|
||||||
return acc.balance
|
return acc.balance
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user