Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5005 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 22
5894
0
lokak. 18
3900
2
lokak. 18
8083
1
marrask. 17
14720
0
toukok. 15
3896