Working on new user account and person profile creation and updating
This commit is contained in:
@@ -31,8 +31,8 @@ def load_person_obj(person_id:int|str, inc_contact:bool=False, inc_address:bool=
|
||||
if inc_address:
|
||||
if address_rec := sql_select(table_name='v_address', field_name='address_id', field_value=contact_rec.get('address_id', None)):
|
||||
person_rec['contact']['address'] = address_rec
|
||||
#log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(address_rec)
|
||||
#log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(address_rec)
|
||||
|
||||
if inc_organization:
|
||||
if organization_rec := sql_select(table_name='v_organization', field_name='organization_id', field_value=person_rec.get('organization_id', None)):
|
||||
|
||||
Reference in New Issue
Block a user