Odoo Help


How to have pie chart graph by default?

Pascal Tremblay
on 3/20/15, 9:21 AM 3,410 views

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)





| 5 3 8
Pondicherry, India
On 3/23/15, 3:46 AM

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">

thanks, I try it soon!

Pascal Tremblay
on 3/23/15, 7:47 AM

But this not work for me in odoo 9

Rakhi sudevan
on 9/22/16, 8:02 AM

Agreed that this doesn't work in Odoo 9

Andre de Kock
on 7/20/17, 4:08 PM
On 1/7/18, 8:26 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/20/15, 9:21 AM
Seen: 3410 times
Last updated: 1/7/18, 8:26 AM