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

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

Anyone?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 21
7717
3
dub 17
5516
0
srp 22
6040
0
bře 20
3415
0
zář 19
3805