Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odoo CE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Comunitats Energètiques
Odoo CE
Merge requests
!46
FIX bug on keycloak user creation from subscription
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
FIX bug on keycloak user creation from subscription
FIX_bug_on_keycloak_user_creation_from_subscription
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Xavier Bonet
requested to merge
FIX_bug_on_keycloak_user_creation_from_subscription
into
main
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
FIX bug on keycloak user creation from subscription
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
9902d1ea
1 commit,
2 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ce/models/res_partner.py
+
1
−
1
Options
@@ -36,7 +36,7 @@ class ResPartner(models.Model):
user
=
self
.
create_user_from_partner_id
()
if
user
:
self
.
user_id
=
user
self
.
push_new_user_to_keyckoack
()
self
.
sudo
().
push_new_user_to_keyckoack
()
else
:
raise
UserError
(
_
(
"
Unable to create the new Odoo user related to this partner.
"
))
return
user
Loading