bugfix
This commit is contained in:
parent
168ce230c4
commit
eebe7c2733
@ -308,7 +308,7 @@ class PricingProgram:
|
||||
async def reload_pp_data(ppt):
|
||||
env = ServerEnv()
|
||||
ppid = None
|
||||
async with get_sqlor_context(env, 'pricing') as sor:
|
||||
async with get_sor_context(env, 'pricing') as sor:
|
||||
recs = await sor.R('pricing_program', {'id': ppt['id']})
|
||||
if len(recs) == 0:
|
||||
exception(f'{ppt["id"]} not found in pricing_program')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user