[IMP] changes the xml description of the graphs to use the new graph view (and to make sure the result is as close as possible) (addon crm)

bzr revid: ged@openerp.com-20131224102650-rbekdotddbgfylcp
This commit is contained in:
Gery Debongnie 2013-12-24 11:26:50 +01:00
parent 9edecec48f
commit 6474a028d2
3 changed files with 14 additions and 14 deletions

View File

@ -207,8 +207,8 @@
<field name="model">crm.lead</field>
<field name="arch" type="xml">
<graph string="Opportunities" type="bar">
<field name="stage_id"/>
<field name="planned_revenue" operator="+"/>
<field name="stage_id" type="row"/>
<field name="planned_revenue" type="measure"/>
</graph>
</field>
</record>

View File

@ -39,10 +39,10 @@
<field name="name">crm.lead.report.graph</field>
<field name="model">crm.lead.report</field>
<field name="arch" type="xml">
<graph orientation="vertical" string="Leads Analysis" type="bar">
<field name="stage_id"/>
<field name="nbr" operator="+"/>
<field group="True" name="user_id"/>
<graph string="Leads Analysis" type="bar" stacked="True">
<field name="stage_id" type="row"/>
<field name="user_id" type="col"/>
<field name="nbr" type="measure"/>
</graph>
</field>
</record>
@ -51,10 +51,10 @@
<field name="name">crm.opportunity.report.graph</field>
<field name="model">crm.lead.report</field>
<field name="arch" type="xml">
<graph orientation="vertical" string="Leads Analysis" type="bar">
<field name="stage_id"/>
<field name="planned_revenue" operator="+"/>
<field group="True" name="user_id"/>
<graph string="Leads Analysis" type="bar" stacked="True">
<field name="stage_id" type="row"/>
<field name="user_id" type="col"/>
<field name="planned_revenue" type="measure"/>
</graph>
</field>
</record>

View File

@ -34,10 +34,10 @@
<field name="name">crm.phonecall.report.graph</field>
<field name="model">crm.phonecall.report</field>
<field name="arch" type="xml">
<graph orientation="horizontal" string="Phone calls" type="bar">
<field name="state"/>
<field name="nbr" operator="+"/>
<field group="True" name="user_id"/>
<graph orientation="horizontal" string="Phone calls" type="bar" stacked="True">
<field name="user_id" type="row"/>
<field name="state" type="col"/>
<field name="nbr" type="measure"/>
</graph>
</field>
</record>