コンテンツへスキップ
メニュー
この質問にフラグが付けられました
5 返信
11345 ビュー

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
1880
0
9月 20
4065
0
3月 15
3421
3
3月 15
11223
1
2月 24
1952