Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4961 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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


Thanks. 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
3037
1
bře 15
5085
3
čvc 25
1135
2
bře 23
4243
3
bře 15
13459