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

here is the code :

                <button name="wtc_approval" states="request_approval" string="Approve" type="object" class="oe_highlight" attrs="{'invisible':[(%(isactiveuser)d,'=',False)]}"/>

 

it still error ..

 

아바타
취소
베스트 답변

I haven't seen any xml views in which method is called.

You could also try using a computed field and provide the result to that field "field1", then using this field at XML attrs is possible.

아바타
취소
작성자

oh i see , if i use field function to store return method is it possible ?

작성자

thanks