diff options
| author | Gery Debongnie <ged@openerp.com> | 2013-12-24 11:29:09 +0100 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2013-12-24 11:29:09 +0100 |
| commit | def9e99aa44b48ddef8dd3ed3c0e2bfb7d718f73 (patch) | |
| tree | 0799906f1bfe95d5a35a6418ef22ec5501cef13a | |
| parent | b569c6de23ccb984bd827c9bf8781965e77dec63 (diff) | |
[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
| -rw-r--r-- | addons/mrp_operations/mrp_operations_view.xml | 5 | ||||
| -rw-r--r-- | addons/mrp_operations/report/mrp_workorder_analysis_view.xml | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml index 9b8587349bc..4fb6bb18a3f 100644 --- a/addons/mrp_operations/mrp_operations_view.xml +++ b/addons/mrp_operations/mrp_operations_view.xml @@ -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> diff --git a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml index de486face78..a360e2ee0d1 100644 --- a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml +++ b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml @@ -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> |
