콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
11433 화면

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
1982
0
9월 20
4147
0
3월 15
3535
3
3월 15
11340
1
2월 24
2042