Skip to content
Snippets Groups Projects
Commit 52ba0552 authored by Denis Vermylen (dve)'s avatar Denis Vermylen (dve)
Browse files

[FIX] portal: remove ensure_one()

a random ensure_one() was added during the migration causing an error when
modifying portal access management for partners with more than one contact.

Removing it.
parent fcd6813d
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,6 @@ class PortalWizardUser(models.TransientModel):
""" From selected partners, add corresponding users to chosen portal group. It either granted
existing user, or create new one (and add it to the group).
"""
self.ensure_one()
error_msg = self.get_error_messages()
if error_msg:
raise UserError("\n\n".join(error_msg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment