Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4990 Prikazi

Odoo version 11c

(Document type: Contact, Operation: write) - (User: 9, Fields: signup_expiration, signup_type, signup_token)


get this type error when creating a new user without super ID


Avatar
Opusti
Best Answer

i've tried from this: self.mapped('partner_id').signup_prepare(signup_type="reset", expiration=expiration)

to this: self.sudo().mapped('partner_id').signup_prepare(signup_type="reset", expiration=expiration)

this line inside action_reset_password definition.

seems working for me.

Avatar
Opusti
Best Answer

Hi, did you managed to fix this? Getting the same error.


Thanks. 

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
maj 24
3046
1
mar. 15
5094
3
jul. 25
1173
2
mar. 23
4256
3
mar. 15
13472