تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4998 أدوات العرض

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
سبتمبر 22
5893
0
أكتوبر 18
3899
2
أكتوبر 18
8077
1
نوفمبر 17
14710
0
مايو 15
3894