diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-15 13:40:46 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-15 13:40:46 +0700 |
| commit | 2f835b71aaad9d2d6fef1fafcb600bf50b034f2b (patch) | |
| tree | 1e4463e3b4fd8f86231625253152bc2a8d7ea215 /indoteknik_api/controllers | |
| parent | a47bdc61945b8ab153d80590f06975210f8d2a80 (diff) | |
| parent | cf64a8c5913308c3121a55b1b4cd1acf17c86d73 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cbd-apt
merge
Diffstat (limited to 'indoteknik_api/controllers')
| -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) |
