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

i can hide the duplicate button/action in a form using this code:

                <xpath expr="//form" position="attributes">
                    <attribute name="duplicate">0</attribute>
                    <attribute name="delete">0</attribute>
                </xpath>

               

But how can i do same in tree-view?

i tried this but without success:

                <xpath expr="//tree" position="attributes">
                    <attribute name="duplicate">0</attribute>
                    <attribute name="delete">0</attribute>
                    <attribute name="export">0</attribute>
                </xpath



아바타
취소
베스트 답변

To hide the "Duplicate" action in a tree view in Odoo, you can use the duplicate attribute inside the tag of the view definition.



false




아바타
취소
베스트 답변

How to Hide Duplicate Action 

https://www.youtube.com/watch?v=IoiailfpSFg


아바타
취소