Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
5 Ответы
11340 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
февр. 23
1879
0
сент. 20
4065
0
мар. 15
3421
3
мар. 15
11222
1
февр. 24
1952