콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
7837
3
4월 17
5590
0
8월 22
6158
0
3월 20
3548
0
9월 19
3949