跳至内容
菜单
此问题已终结
2 回复
8449 查看

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?!!

形象
丢弃

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

编写者

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

最佳答案

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

形象
丢弃
编写者

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.

编写者

OK I get it

最佳答案

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

形象
丢弃
编写者

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.

编写者

ok thank u

相关帖文 回复 查看 活动
0
8月 19
3233
0
7月 25
753
1
7月 25
5866
0
7月 25
1473
0
6月 25
1392