Skip to Content
Menu
This question has been flagged
3749 Views

Hi !

I am currently struggling with the sign up form. I would like to create a user using this form, but linking it to a partner via an ID.
I don't have to check if the partner exists, because this form shows up only when I enter this ID and Odoo checks if the partner exists.

So my problem is that the user is correctly created, but every time Odoo creates a new partner for this user instead of linking it to the user.

I am using the "_signup_create_user" function in the auth_signup module.

Can anyone help me with that ?

Thanks

Avatar
Discard