diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-09-12 10:48:13 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-09-12 10:48:13 +0700 |
| commit | 7d07a282c134cb5e2a784b73cc477e3f398df57c (patch) | |
| tree | d0e1515e1947985c06f5046b24042720a2574b49 /indoteknik_api | |
| parent | ef8a6f39e6967c592b14f5ebc1d4ebcdb6fd2f7b (diff) | |
<hafid> add rc in journal
Diffstat (limited to 'indoteknik_api')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index dde30fec..3511bc52 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -89,7 +89,9 @@ class User(controller.Controller): 'name': name, 'login': email, 'oauth_provider_id': request.env.ref('auth_oauth.provider_google').id, - 'sel_groups_1_9_10': 9 + 'sel_groups_1_9_10': 9, + 'active': True, + } user = request.env['res.users'].create(user_data) |
