This question has been flagged
2 Replies
7446 Views

Hello!

My qustion is how to custom colors for form fields, I installed the module web_field_style.zip

but it didnt works !!

is there an other way to do it?!!

Avatar
Discard

are you using 6.1 ? with web_fields_style you need to patch the server and user the xml tag cssclass.

Author

No I use V6.0, How cant I patch the server?

Best Answer

You mean you want to create colors that have values other than the default values defined by openERP?

try adding the custom color you want to:

web/addons/web_graph/static/lib/flotr2/lib/excanvas.js

in the var colorData = { section

you can then assign that color to your fields using the xml color ="" tag

Avatar
Discard
Author

I can't find the file : web/addons/web_graph/static/lib/flotr2/lib/excanvas.js howerer I have not access to source files, Openerp is installed in the server not in my machine !!!

If you want to create custom options like this you must have access to the server.

Author

OK I get it

Best Answer

Have a look on this blog: colors & styles in openerp

Avatar
Discard
Author

I want to folow what is in this blog, but I can't apply the patch to server’s file because I have not access to source files, Openerp is installed in the server not in my machine !!!

Customizing fields colors by users is not supported by openerp. It's need modification in the source files.

Author

ok thank u