Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4827 Zobrazení

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.

Avatar
Zrušit

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

Nejlepší odpověď

Hello,

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

Thanks

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 15
5551
2
kvě 24
6887
0
srp 15
2428
0
kvě 15
2829
1
zář 15
8559