Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
11090 Lượt xem

hi , i am working with openerp V7 , and i want to change skin and color of menu. to do that, i am trying to edit in Web module.

i know that is not the good way. have any idea ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

yes is not the good way ,do not modify the original code.

it is the same principle,work with inheritance.

create a new module . in this module create your file.css in folder static/src/css .

your_module/static/src/css/custom_skin.css

and in __openerp__.py add this line :

'css' : ["static/src/css/custom_skin.css", ],

Example if you want change color of menu to red :

@charset "utf-8";
.openerp .oe_menu > li > a {
    color: red;    
}

I recommend you use Firebug to know the class css.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

je l'ai essayé déja , mais j'ai rien remarqué

Ảnh đại diện
Huỷ bỏ

I tested this code ,it works without problem.

I tried this method but when I inspect the generated source code I found a link to css files from https://apps.openerp.com/mail/static/src/css/mail.css . How can we disable this?

Tác giả

how can i edit , /controller/main file i want to edit the title

<title> NEW TITLE </title> and favico

Câu trả lời hay nhất

I created a openerp 7 module which allows you to choose templates : www.martinienolinga.com/en/plugin-des-templates-sous-openerp

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
3015
1
thg 3 15
4883
1
thg 10 24
1109
1
thg 6 24
2563
1
thg 10 24
5820