Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5007 มุมมอง

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. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 24
3060
1
มี.ค. 15
5111
3
ก.ค. 25
1203
User Error when Confirming Invoice แก้ไขแล้ว
2
มี.ค. 23
4270
3
มี.ค. 15
13482