Skip to Content
Menu
This question has been flagged
1 Atsakyti
1507 Rodiniai

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!

Portretas
Atmesti
Autorius Best Answer

Anyone?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
birž. 21
7789
3
bal. 17
5539
0
rugp. 22
6118
0
kov. 20
3451
0
rugs. 19
3861