Skip to content
Snippets Groups Projects

FIX bug on keycloak user creation from subscription

Merged Xavier Bonet requested to merge FIX_bug_on_keycloak_user_creation_from_subscription into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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