diff --git a/ledger/accounts/management/commands/sync_itassets_users.py b/ledger/accounts/management/commands/sync_itassets_users.py index f114726a1..50543eaab 100755 --- a/ledger/accounts/management/commands/sync_itassets_users.py +++ b/ledger/accounts/management/commands/sync_itassets_users.py @@ -56,8 +56,8 @@ def handle(self, *args, **options): u.first_name = first_name u.last_name = last_name u.is_staff = True - u.phone_number = phone - u.mobile_number = mobile + u.staff_phone_number = phone + u.staff_mobile_number = mobile u.position_title = position_title u.manager_name = manager_name u.manager_email = manager_email @@ -69,8 +69,8 @@ def handle(self, *args, **options): first_name=first_name, last_name=last_name, is_staff=True, - phone_number=phone, - mobile_number=mobile, + staff_phone_number=phone, + staff_mobile_number=mobile, position_title=position_title, manager_name=manager_name, manager_email=manager_email,