Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5016 Visninger

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
Kassér
Bedste svar

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
Kassér
Bedste svar

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


Thanks. 

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
maj 24
3062
1
mar. 15
5113
3
jul. 25
1206
2
mar. 23
4275
3
mar. 15
13482