Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4927 Widoki

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


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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


Thanks. 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
3028
1
mar 15
5065
3
lip 25
1101
2
mar 23
4229
3
mar 15
13445