Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1628 Weergaven

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
Annuleer
Auteur Beste antwoord

Anyone?

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
jun. 21
7954
3
apr. 17
5684
0
aug. 22
6237
0
mrt. 20
3626
0
sep. 19
4006