Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3738 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
июл. 25
1988
3
мая 25
3467
2
июн. 25
4025
2
мар. 23
9983
2
мар. 23
2415