跳至内容
菜单
此问题已终结
5 回复
11351 查看

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


形象
丢弃
最佳答案

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!

But this not work for me in odoo 9

Agreed that this doesn't work in Odoo 9

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
2月 23
1882
0
9月 20
4066
0
3月 15
3430
3
3月 15
11227
1
2月 24
1953