This question has been flagged
1 Reply
2792 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard