コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4992 ビュー

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
3046
1
3月 15
5096
3
7月 25
1177
2
3月 23
4258
3
3月 15
13472