コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1499 ビュー

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?

アバター
破棄
関連投稿 返信 ビュー 活動
3
6月 21
7787
3
4月 17
5533
0
8月 22
6115
0
3月 20
3444
0
9月 19
3847