Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1486 Vizualizări

Hi all!

I have a template view which is inheriting from "auth_signup.signup" and where I want to disable a button from signup form only when my custom config parameter "button_enabled" is disabled (False). I tried the next code inside attribute tag with name="attrs": (I cant type all the lines because odoo forum remove them)  



{'disabled': [('website.env['ir.config_parameter'].get_param('custom_login.recaptcha_enabled')','=',True)]}
    


But it didn't work. How can I do it?

Thanks!

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Anyone?

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
iun. 21
7776
3
apr. 17
5530
0
aug. 22
6106
0
mar. 20
3441
0
sept. 19
3833