跳至内容
菜单
此问题已终结
2 回复
4949 查看

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


形象
丢弃
最佳答案

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.

形象
丢弃
最佳答案

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


Thanks. 

形象
丢弃
相关帖文 回复 查看 活动
1
5月 24
3032
1
3月 15
5077
3
7月 25
1108
2
3月 23
4233
3
3月 15
13449