Odoo Help

0

How to load css from javascript ?

By
Yug Faa
on 12/27/13, 12:38 PM 1,454 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

sepdau
on 3/11/14, 12:30 AM
0
Evans Bernier
On 8/29/14, 11:42 AM

Hello,

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

Thanks

0
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.

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 platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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