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

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

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

thanks, I try it soon!

But this not work for me in odoo 9

Agreed that this doesn't work in Odoo 9

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
helmik. 23
1882
0
syysk. 20
4066
0
maalisk. 15
3430
3
maalisk. 15
11227
1
helmik. 24
1953