Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1492 Tampilan

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
Buang
Penulis Jawaban Terbai

Anyone?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Jun 21
7784
3
Apr 17
5533
0
Agu 22
6115
0
Mar 20
3443
0
Sep 19
3839