debug(f'{params_kw=}') dbname = get_module_dbname('accounting') orgid = await get_userorgid() db = DBPools() async with db.sqlorContext(dbname) as sor: await openResellerAccounts(sor, '0', orgid) return f'{orgid} reseller accounts opened' return f'{db.e_except=}'