summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1/user.py
diff options
context:
space:
mode:
authorAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-10 17:56:31 +0700
committerAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-10 17:56:31 +0700
commit10da5e27e658030f171f694d6696f93e4a472447 (patch)
tree14a5f684bae4bc0803ed3c61cb1ce1bed23e33f6 /indoteknik_api/controllers/api_v1/user.py
parent914bcd75dd2baddb2841cbfba6a64ebd453fecdb (diff)
parent4db6034c07414dcd09292e3c41d6fd4598868148 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into pum-v2
Diffstat (limited to 'indoteknik_api/controllers/api_v1/user.py')
-rw-r--r--indoteknik_api/controllers/api_v1/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py
index dde30fec..c75e4954 100644
--- a/indoteknik_api/controllers/api_v1/user.py
+++ b/indoteknik_api/controllers/api_v1/user.py
@@ -89,7 +89,8 @@ 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)