Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3728 Prikazi

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

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jul. 25
1981
3
maj 25
3460
2
jun. 25
4015
2
mar. 23
9973
2
mar. 23
2413