diff --git a/addons/mrp/report/order.rml b/addons/mrp/report/order.rml index 341793ee79d..f920a71337b 100644 --- a/addons/mrp/report/order.rml +++ b/addons/mrp/report/order.rml @@ -3,36 +3,6 @@ @@ -40,7 +10,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -60,7 +98,7 @@ - + @@ -82,50 +120,48 @@ - + + - - - - - - - + + + + - + - - - - - + + + - - - - - + + + + - - - - - - - - + + + + + + + + + + + + - @@ -138,91 +174,178 @@ + + + - Production Order N° : [[ o.name ]] + Production Order N° : [[ o.name ]] - - + - - Printing date + Product - Planned Date + Quantity - Partner Ref + Priority - SO Number + Note + + + + + + + [[ '['+ o.product_id.code +']' ]] [[ o.product_id.name ]] - Product Name - + [['%.2f' % o.product_qty or '0.00' ]] + + + [[o.priority or '']] + + + [[ o.product_id.description or '' ]] + + + + + + + + + + Printing date + + + Planned Date + + + Partner Ref + + + SO Number
- + - - [[ time.strftime('%d/%m/%Y') ]] + [[ time.strftime('%d/%m/%Y') ]] - [[ time.strftime('%d/%m/%Y', time.strptime(o.date_planned, '%Y-%m-%d %H:%M:%S')) ]] + [[ time.strftime('%d/%m/%Y', time.strptime(o.date_planned, '%Y-%m-%d %H:%M:%S')) ]] - [[ o.sale_ref or ' ' ]] + [[ o.sale_ref or ' ' ]] - [[ o.sale_name or '' ]] - - - [[ '['+ o.product_id.code +']' ]] [[ o.product_id.name ]] - + [[ o.sale_name or '' ]]
- - [[ o.product_id.description ]] + Work Orders - + - Product + Sequence - Qty + Name + + + WorkCenter + + + No. Of Cycles + + + No. Of Hours + + + + + + + [[ repeatIn(o.workcenter_lines,'line2') ]] + [[ line2.sequence ]] + + + [[ line2.name ]] + + + [[ line2.workcenter_id.name ]] + + + [[ line2.cycle or '0.00' ]] + + + [[ line2.hour or '0.00' ]] + + + + + + + Bill Of Material + + + + + + + Product + + + Qty + + + Source Location + + + Destination Location - [[ repeatIn(o.move_lines,'line') ]] - [[ '['+line.product_id.code +']' ]] [[ line.product_id.name ]] + [[ repeatIn(o.move_lines,'line') ]] + [[ '['+line.product_id.code +']' ]][[ line.product_id.name ]] [[ '%.2f' % line.product_qty ]] [[line.product_uom.name]] + + [[ line.location_id.name ]] + + + [[ line.location_dest_id.name ]] + ......... ......... - + + + + - + \ No newline at end of file