تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
8492 أدوات العرض

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
أغسطس 19
3275
0
يوليو 25
782
1
يوليو 25
5885
0
يوليو 25
1525
0
يونيو 25
1427