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

i am new to odoo environment, so i am trying create a form view with a graph in the header so i don't know if that possible any ideas please?

odoo 13.0

الصورة الرمزية
إهمال
أفضل إجابة

Yes its possible.

Install \This module and it will do the trick. Its for odoo 12 but i have tested it on odoo 13 and 14, its working perfectly. You will have your graph right on your form view wherever you want.

https://apps.odoo.com/apps/modules/12.0/web_widget_plotly_chart/


This other module also works : https://github.com/OCA/web/tree/13.0/web_widget_mpld3_chart

Now you have to choose whether you like plotly or mpld3 charts. All both modules work on the sample principle, the difference is the library they use.

If you want to work with an other library, then you better have a look on Javascript Cheatsheets (https://www.odoo.com/documentation/14.0/developer/reference/javascript_cheatsheet.html) and build your own widget for the desired chart library. You can use both these modules to see how they did the trick.

It can help you integrate charts directly into your kanban card also, have tested

Hope it helps

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

thank you for your answer but that's not exactly what i want
what i need is to display list of cases related to a plan and a graph shows the result of cases (passed or failed ) for a specific plan

so can you help me in this

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

If you need to show multiple views in a single view you can tried with the board view in the odoo, for this you have to install the dashboard module.

Using the board view, we can show different views in a single screen as different sections, see this video: How To Create a Dashboard In Odoo


Thanks

الصورة الرمزية
إهمال

I could have two chart views in one dashboard view?

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 22
5793
0
مارس 20
3190
1
يونيو 25
522
0
مايو 25
652
2
أبريل 25
2664