コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3723 ビュー

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
1978
3
5月 25
3456
2
6月 25
4011
2
3月 23
9966
2
3月 23
2408