This commit is contained in:
Hermes Agent 2026-06-16 17:32:38 +08:00
parent 4a20509490
commit 029a76f960

View File

@ -1,6 +1,8 @@
debug(f'{params_kw=}')
dbname = get_module_dbname('accounting')
orgid = await get_userorgid()
orgid = params_kw.orgid
if orgid is None:
orgid = await get_userorgid()
db = DBPools()
async with db.sqlorContext(dbname) as sor:
await openCustomerAccounts(sor, '0', orgid)