This question has been flagged
3 Replies
6190 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard

I could have two chart views in one dashboard view?