Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1465 Представления

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!

Аватар
Отменить
Автор Лучший ответ

Anyone?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
июн. 21
7725
3
апр. 17
5519
0
авг. 22
6042
0
мар. 20
3417
0
сент. 19
3808