Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4978 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

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


Thanks. 

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
3040
1
mars 15
5089
3
juil. 25
1156
2
mars 23
4248
3
mars 15
13468