Bug fix in order cart line model.

This commit is contained in:
Scott Idem
2021-08-07 18:59:35 -04:00
parent 562a3ffa36
commit 5e02b424a8
4 changed files with 6 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ def load_order_obj(
inc_person: bool = False,
inc_user: bool = False,
):
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
if order_id := redis_lookup_id_random(record_id_random=order_id, table_name='order'): pass
@@ -216,7 +216,7 @@ def load_order_obj(
# Updated 2021-08-07
if inc_order_cfg:
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
if order_cfg_result := load_order_cfg_obj(
account_id = order_rec.get('account_id', None),
by_alias = by_alias,