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

I have a Boolean variable stored in Odoo (OpenERP) database, I want to display it's values according to time axis, every minute.

I tried to do this with "interval" attribute in a graph view in xml but the graph regroups all true values and display the sum of them, so if have 5 true values at 13:05, it will display the graph rising to the value "5" instead of "1" in this minute.

Is there a better way to do this ?

形象
丢弃
最佳答案

You could create a compute field based on the boolean field where it will reflect any number you want instead of 0 and 1

形象
丢弃
相关帖文 回复 查看 活动
1
9月 22
5892
0
10月 18
3897
2
10月 18
8072
1
11月 17
14705
0
5月 15
3890