[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 mrp_operations)

bzr revid: ged@openerp.com-20131224102909-cxweo8yyo67bt7su
This commit is contained in:
Gery Debongnie 2013-12-24 11:29:09 +01:00
parent b569c6de23
commit def9e99aa4
2 changed files with 5 additions and 6 deletions

View File

@ -328,9 +328,8 @@
<field name="model">mrp.production.workcenter.line</field>
<field name="arch" type="xml">
<graph string="Hours by Work Center" type="bar">
<field name="date_start"/>
<field name="hour" operator="+"/>
<field name="workcenter_id" group="True"/>
<field name="hour" type="measure"/>
<field name="workcenter_id" type="row"/>
</graph>
</field>
</record>

View File

@ -31,9 +31,9 @@
<field name="name">mrp.workorder.graph</field>
<field name="model">mrp.workorder</field>
<field name="arch" type="xml">
<graph orientation="horizontal" string="Work Orders" type="bar">
<field name="state"/>
<field name="nbr" operator="+"/>
<graph string="Work Orders" type="bar">
<field name="state" type="row"/>
<field name="nbr" type="measure"/>
</graph>
</field>
</record>