[IMP] convert the graphs defined in the reporting dashboard of crm to the new style...
authorGery Debongnie <ged@openerp.com>
Thu, 26 Dec 2013 16:16:09 +0000 (17:16 +0100)
committerGery Debongnie <ged@openerp.com>
Thu, 26 Dec 2013 16:16:09 +0000 (17:16 +0100)
bzr revid: ged@openerp.com-20131226161609-er28iu6gs14gp7dg

addons/crm/board_crm_view.xml

index 8bbbece..27e835f 100644 (file)
@@ -6,9 +6,8 @@
             <field name="name">Opportunities By Stage - Graph</field>
             <field name="model">crm.lead.report</field>
             <field name="arch" type="xml">
-                <graph string="Opportunities By Stage" type="area">
-                    <field name="stage_id"/>
-                    <field name="nbr" operator="+"/>
+                <graph string="Opportunities By Stage" type="bar">
+                    <field name="stage_id" type="row"/>
                 </graph>
             </field>
         </record>
             <field name="name">Opportunities By Stage Per User - Graph</field>
             <field name="model">crm.lead.report</field>
             <field name="arch" type="xml">
-                <graph string="Opportunities By Stage" type="line">
-                    <field name="stage_id"/>
-                    <field name="planned_revenue" operator="+"/>
-                    <field name="user_id" group="True"/>
+                <graph string="Opportunities By Stage" stacked="True">
+                    <field name="stage_id" type="row"/>
+                    <field name="user_id" type="row"/>
+                    <field name="planned_revenue" type="measure"/>
                 </graph>
             </field>
         </record>