Bug fix in order cart line model.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user