Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8453 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

OK I get it

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

ok thank u

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 19
3233
0
thg 7 25
753
1
thg 7 25
5866
0
thg 7 25
1473
0
thg 6 25
1392