Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4972 Переглядів

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
3039
1
бер. 15
5085
3
лип. 25
1151
2
бер. 23
4248
3
бер. 15
13465