Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4938 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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


Thanks. 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 24
3029
1
mar 15
5070
3
jul 25
1105
2
mar 23
4230
3
mar 15
13448