Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1473 Prikazi

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
Opusti
Avtor Best Answer

Anyone?

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jun. 21
7743
3
apr. 17
5527
0
avg. 22
6062
0
mar. 20
3429
0
sep. 19
3810