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

I have odoo 8.0. I make a Module where I need relocate the create button from top to down.

아바타
취소
베스트 답변

It is not a complete solution, a hint for you in odoo 9

You override the web module and go to the file

/web/static/src/xml/base.xml

In that file you cut few lines

<t t-name="ControlPanel">
    <div class="oe-control-panel">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-6 oe-cp-title">
                    <ol class="oe-view-title breadcrumb">
                    </ol>
                </div>
                <div class="oe-cp-search-view col-md-6" />
            </div>
            <div class="row">
                <!-=============CUT FOLLOWING LINES===========--> 
                <div class="col-md-6 oe-button-column">
                    <div class="oe-cp-buttons"></div>
                    <div class="oe-cp-sidebar"></div>
                </div>

<!-==========================================-->
                <div class="col-md-6">
                    <div class="oe-search-options btn-group"/>
                    <div class="oe-right-toolbar">
                       <div class="oe-cp-pager"></div>
                     <div class="oe-cp-switch-buttons btn-group btn-group-sm"></div>
                    </div>
                </div>
             </div>
         </div>
    </div>
</t>

 You paste where you want. You may needed js code to show

All the best

아바타
취소
관련 게시물 답글 화면 활동
3
7월 25
2162
3
5월 25
3783
2
6월 25
4242
2
3월 23
10248
2
3월 23
2565