Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4890 Vues

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 ?

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
sept. 22
5761
0
oct. 18
3829
2
oct. 18
7951
1
nov. 17
14576
0
mai 15
3816