Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

skin openerp : css and color

By
samir
on 6/10/13, 11:47 AM 6,216 views

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 ?

2

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 6/10/13, 12:41 PM

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.

0
martinien olinga
On 10/20/13, 5:15 PM

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

0
samir
On 6/10/13, 1:24 PM

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

I tested this code ,it works without problem.

Borni DHIFI
on 6/10/13, 1:39 PM

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?

Bonnet Denis
on 6/12/13, 7:19 AM

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

<title> NEW TITLE </title> and favico

samir
on 6/12/13, 9:00 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/10/13, 11:47 AM
Seen: 6216 times
Last updated: 3/16/15, 8:10 AM