Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1488 Vues

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
Ignorer
Auteur Meilleure réponse

Anyone?

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
juin 21
7777
3
avr. 17
5530
0
août 22
6107
0
mars 20
3441
0
sept. 19
3833