Skip to Content
Menu
This question has been flagged
2 Replies
5021 Rodiniai

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


Portretas
Atmesti
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.

Portretas
Atmesti
Best Answer

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


Thanks. 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
geg. 24
3078
1
kov. 15
5122
3
liep. 25
1215
2
kov. 23
4292
3
kov. 15
13490