Skip to Content
Menu
This question has been flagged
3212 Views

I need to display graph within one2many field for odoo 12, i displayed graph in odoo 10 by using mode="graph" in one2many field. So i added same for odoo 12. But it doesn't show graph, instead shows error like "Renderer is not a constructor". Can anyone guide me how to add graph within one2many field.

My Code:

<field name="purchase_details" mode="graph">

            <graph string="Purchase History" type="bar" stacked="False" tab_chart="True"> 

                        <field name="create_date" interval="month" type="row"/>

                        <field name="product_id"/>

                        <field name="qty_received" type="measure"/>

            </graph>

</field>

Avatar
Discard
Related Posts Replies Views Activity
3
May 22
6208
2
Dec 19
3898
0
Oct 19
2529
1
Jul 19
5135
2
Oct 18
6918