Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
7750 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää

I could have two chart views in one dashboard view?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 22
6081
0
maalisk. 20
3433
2
elok. 25
2141
1
heinäk. 25
692
1
elok. 25
1150