Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5011 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 22
5898
0
thg 10 18
3903
2
thg 10 18
8088
1
thg 11 17
14728
0
thg 5 15
3898