Code clean up. Bug fixes for person, user, contact, and address methods. Fix bug for get_account_id_w_for_type_id()

This commit is contained in:
Scott Idem
2022-01-07 13:35:44 -05:00
parent 29c6770581
commit 5489b80ff0
5 changed files with 117 additions and 100 deletions

View File

@@ -150,8 +150,8 @@ def load_account_obj(
# Updated 2021-06-17
if inc_address_list:
if address_rec_list_result := get_address_rec_list(
for_obj_type = 'account',
for_obj_id = account_id,
for_type = 'account', # 'account' is a special case
for_id = account_id,
limit = limit,
enabled = enabled,
):
@@ -193,8 +193,8 @@ def load_account_obj(
# Updated 2021-06-17
if inc_contact_list:
if contact_rec_list_result := get_contact_rec_list(
for_obj_type = 'account',
for_obj_id = account_id,
for_type = 'account', # 'account' is a special case
for_id = account_id,
limit = limit,
enabled = enabled,
):