Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4920 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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


Thanks. 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 24
3028
1
Mar 15
5058
3
Jul 25
1101
2
Mar 23
4225
3
Mar 15
13437