Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6845 Widoki

i want to make the menu bar on the left panel thinner or able to adjust by user

what should i edit???

Awatar
Odrzuć
Najlepsza odpowiedź

Check out this free module on the Apps Store:

https://www.odoo.com/apps/modules/8.0/web_menu_hide_8.0/

It introduces a button on the left of the main menu bar (next to the 'Messaging' menu), which you can click to toggle the left menu bar on/ off.

You might need to edit the JS file 1st line. Make sure it is:

openerp.web_menu_hide_8 {
Awatar
Odrzuć
Najlepsza odpowiedź

in the file openerp/addons/web/static/src/css/base.css

.openerp .oe_leftbar {
display: none;
width: 220px;
background: #f0eeee;
border-right: 1px solid #afafb6;
text-shadow: none;
}

Change the width above to a smaller value.

Also remove the width from .oe_application

.openerp .oe_application {
width: 100%;
height: 100%;
}


you can use firefox or chrome to inspect the element and make changes to the css style scripts beside and see the effects before deciding if you want to change it on code.


Awatar
Odrzuć