Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5 Antwoorden
11373 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

thanks, I try it soon!

But this not work for me in odoo 9

Agreed that this doesn't work in Odoo 9

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 23
1904
0
sep. 20
4086
0
mrt. 15
3462
3
mrt. 15
11244
1
feb. 24
1971