تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4963 أدوات العرض

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
مايو 24
3038
1
مارس 15
5085
3
يوليو 25
1141
2
مارس 23
4245
3
مارس 15
13461