コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3999 ビュー

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>

アバター
破棄
関連投稿 返信 ビュー 活動
2
5月 25
7743
2
12月 19
4944
0
10月 19
3288
1
7月 19
6247
2
10月 18
8197