跳至內容
選單
此問題已被標幟
1 回覆
5084 瀏覽次數

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
5968
0
10月 18
3970
2
10月 18
8188
1
11月 17
14826
0
5月 15
3998