Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1489 Visualizzazioni

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!

Avatar
Abbandona
Autore Risposta migliore

Anyone?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
giu 21
7779
3
apr 17
5531
0
ago 22
6110
0
mar 20
3441
0
set 19
3834