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

Hi how do i inherit a "+ New" button in a tree? pls help i have no idea

아바타
취소
베스트 답변

You can try inheriting the template below for a 'New' button in tree view.

 <t t-name="account.ListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">

                //Contents
        </xpath>
 </t>


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
1
9월 24
957
0
9월 24
600
3
7월 25
1503
1
6월 25
532
1
6월 25
1473