跳至內容
選單
此問題已被標幟
2 回覆
5001 瀏覽次數

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
3059
1
3月 15
5109
3
7月 25
1202
2
3月 23
4269
3
3月 15
13481