Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4886 Widoki

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 ?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 22
5746
0
paź 18
3827
2
paź 18
7941
1
lis 17
14570
0
maj 15
3812