Odoo Help


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.


How to load css from javascript ?

Yug Faa
on 12/27/13, 12:38 PM 1,390 views

Hi everybody,

We're designed a module for each user has a specific color,

We want that when a user loggin, find his specific color (theme)

In our module we will add a function in javascript, but we don't how ?

Best regards.

you can call .css or something related. include in your js file. remember add js file to load in __openerp__.py

on 3/11/14, 12:30 AM
Alex Jones
On 3/10/14, 6:12 PM

I recommend you perform such setting using PHP scripts, since you demand the user to login, hence his preferences etc would be saved to his profile.

Evans Bernier
On 8/29/14, 11:42 AM


I would like to do the same thing. It is possible to know how to do that?


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)


Asked: 12/27/13, 12:38 PM
Seen: 1390 times
Last updated: 3/16/15, 8:10 AM