Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odgovori
11370 Prikazi

Hello guys,

In Reporting->Point of sale->Sales analysis, I have great graph.

At this place, what would be the easier way to get « pie chart » by default instead of « table mode »?

(can not insert image here)

Thanks


Avatar
Opusti
Best Answer

Hi Pascal,

The default type of the graph is a pie chart

Bt in the POS , they changed the graph type as "pivot"  or  "bar",

For example:

<graph string="Point of Sale Analysis" type="pivot"> .

So you can change this to:

<graph string="Point of Sale Analysis" type="pie">

Avatar
Opusti
Avtor

thanks, I try it soon!

But this not work for me in odoo 9

Agreed that this doesn't work in Odoo 9

Best Answer

if type attribute doesn't work for you try to add this context in your window action

<field name="context">{ 'graph_mode': 'pie' }</field>

this worked for me

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
feb. 23
1899
0
sep. 20
4072
0
mar. 15
3455
3
mar. 15
11228
1
feb. 24
1962