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

I'd like to display a graph in odoo. in which i have two fields:

Date in the x-axis.

Boolean in the y-axis.

odoo use the nvd3.js to display this charts,

this is the view.xml:


<record model="ir.ui.view" id="id_view">
    <field name="name">test.base.graph.view16</field>
    <field name="model">module.base</field>
    <field name="type">graph</field>
    <field name="arch" type="xml">
        <graph string="test" type="bar" >
            <field name="date" interval="day" type="row"/>
            <field name="boolean" type="measure"/>
    </graph>
</field>

</record>


this code doesn't work for me, it return an empty graph. any one have idea about this issue.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 23
2310
0
نوفمبر 22
2458
1
أكتوبر 22
1707
1
أبريل 22
5272
1
يونيو 15
5087