diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml index 7dc0689d128..df7cdcb2c67 100644 --- a/addons/purchase/report/order.rml +++ b/addons/purchase/report/order.rml @@ -68,7 +68,6 @@ - @@ -76,7 +75,6 @@ - @@ -129,6 +127,7 @@ + @@ -141,32 +140,32 @@ [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]] Shipping address : - [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] - [[ addr.title or '' ]] [[ addr.name ]] + [[ o.partner_id.title or '' ]][[ o.partner_id.name ]] + [[ addr.title or '' ]][[ addr.name ]] [[ addr.street ]] [[ addr.street2 or '' ]] - [[ addr.zip or '' ]] [[ addr.city or '' ]] - [[ addr.state_id and addr.state_id.name or '' ]] + [[ addr.zip or '' ]][[ addr.city or '' ]] + [[ addr.state_id and addr.state_id.name or '' ]] [[ addr.country_id and addr.country_id.name or '' ]] - [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] - [[ o.partner_address_id.title or '' ]] [[ o.partner_address_id.name ]] + [[ o.partner_id.title or '' ]][[ o.partner_id.name ]] + [[ o.partner_address_id.title or '' ]][[ o.partner_address_id.name ]] [[ o.partner_address_id.street ]] [[ o.partner_address_id.street2 or '' ]] - [[ o.partner_address_id.zip or '' ]] [[ o.partner_address_id.city or '' ]] - [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]] + [[ o.partner_address_id.zip or '' ]][[ o.partner_address_id.city or '' ]] + [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]] [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]] Tél. : [[ o.partner_address_id.phone or '' ]] Fax : [[ o.partner_address_id.fax or '' ]] - TVA :[[ o.partner_id.vat or '' ]] + TVA :[[ o.partner_id.vat or '' ]] - Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]] + Request for Quotation [[ (o.state=='draft' or removeParentNode('font')) and '' ]] Order [[ (o.state<>'draft' or removeParentNode('font')) and '' ]] N° :[[ o.name ]] @@ -186,16 +185,16 @@ - [[ o.ref or '' ]] + [[ o.name or '' ]] - [[ o.partner_ref or '' ]] + [[ o.partner_ref or '' ]] [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]] - [[ o.validator and o.validator.name or '' ]] + [[ o.validator and o.validator.name or '' ]] @@ -226,11 +225,8 @@
[[ repeatIn(o.order_line,'line') ]] - + - - [[ line.product_id and get_product_code(line.product_id.id, o.partner_id.id) or '' ]] - [[ line.name ]] @@ -241,23 +237,21 @@ [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]] - [[ '%.2f' % line.product_qty ]] + [[ line.product_qty ]] [[ line.product_uom.name ]] - [[ '%.2f' % line.price_unit ]] + [[ line.price_unit ]] - [[ '%.2f' % line.price_subtotal ]] + [[ line.price_subtotal ]] - [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]] - - + [[ repeatIn((line.notes and line.notes.splitlines()) or [], 'l') ]] [[ l or removeParentNode('table') ]] @@ -304,10 +298,10 @@ Net Total : - [[ '%.2f' % o.amount_untaxed ]] + [[ o.amount_untaxed ]] - [[ o.pricelist_id.currency_id.name ]] + [[ o.pricelist_id.currency_id.name ]] @@ -320,10 +314,10 @@ Taxes : - [[ '%.2f' % o.amount_tax ]] + [[ o.amount_tax ]] - [[ o.pricelist_id.currency_id.name ]] + [[ o.pricelist_id.currency_id.name ]] @@ -336,7 +330,7 @@ Total : - [[ '%.2f' % o.amount_total ]] + [[ o.amount_total ]] [[ o.pricelist_id.currency_id.name ]] @@ -353,6 +347,8 @@ - + + + diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml index ad11683150a..f326fc0ae86 100644 --- a/addons/stock/report/picking.rml +++ b/addons/stock/report/picking.rml @@ -24,9 +24,15 @@ - + + + + + + + @@ -38,9 +44,15 @@ - + + + + + + + @@ -65,6 +77,8 @@ + + @@ -128,15 +142,10 @@ - Recipient:[[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]] - Concerns: [[ picking.name ]] - - - - + Customer Ref. @@ -147,9 +156,15 @@ Shipping Date + + Recipient + + + Concerns + - + [[ (picking.address_id.partner_id.id) or '' ]] @@ -158,9 +173,13 @@ [[ picking.date ]] - - - + [[picking.min_date or '']] + + + [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.title) or '' ]] [[ (picking.sale_id.partner_shipping_id and picking.sale_id.partner_shipping_id.name) or '' ]] + + + [[ picking.name ]]