diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-29 13:37:13 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-29 13:37:13 +0700 |
| commit | 09ff6a7ea7860698c736afd926b7d249b1509de9 (patch) | |
| tree | aad4b835c46352d95997a71b997f949bff5618d7 /indoteknik_api/controllers/api_v1/user.py | |
| parent | 04a39b785c2e3feef390d46e498e27289a10ffb4 (diff) | |
<iman> update phone number missing at web
Diffstat (limited to 'indoteknik_api/controllers/api_v1/user.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index 13a0a293..4e20e2c8 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -147,7 +147,7 @@ class User(controller.Controller): user_data = { 'name': name, 'login': email, - 'phone': phone, + 'mobile': phone, 'password': password, 'active': False, 'sel_groups_1_9_10': 9 @@ -155,7 +155,7 @@ class User(controller.Controller): user = request.env['res.users'].create(user_data) user.partner_id.email = email - user.partner_id.phone = phone + user.partner_id.mobile = phone if type_acc == 'business': parameter = [ |
