10 lines
310 B
Plaintext
10 lines
310 B
Plaintext
debug(f'{params_kw=}')
|
|
env = request._run_ns
|
|
providers = await get_platform_providers()
|
|
async with get_sor_context(env, 'accounting') as sor:
|
|
for p in providers:
|
|
await openProviderAccounts(sor, '0', p.id)
|
|
await openRetailRelationshipAccounts(sor, '0', p.id, '0')
|
|
debug(f'{p} provider accounts opened')
|
|
|