diff --git a/addons/sale/report/order.rml b/addons/sale/report/order.rml index f2e38eba55f..b4f1c4cfdff 100644 --- a/addons/sale/report/order.rml +++ b/addons/sale/report/order.rml @@ -60,7 +60,7 @@ - + @@ -74,22 +74,24 @@ - + - + - + - + + + @@ -104,7 +106,7 @@ [[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] - + Shipping address : @@ -112,10 +114,8 @@ [[ o.partner_shipping_id.title or '' ]] [[ o.partner_shipping_id.name ]] [[ o.partner_shipping_id.street ]] [[ o.partner_shipping_id.street2 or '' ]] - -[[ o.partner_shipping_id.zip or '' ]] [[ o.partner_shipping_id.city or '' ]] -[[ o.partner_shipping_id.state_id and o.partner_shipping_id.state_id.name or '' ]] -[[ o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name or '' ]] +[[ o.partner_shipping_id.zip or '' ]] [[ o.partner_shipping_id.city or '' ]] [[ o.partner_shipping_id.country_id and (', %s' % (o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name or '')) ]] + @@ -153,7 +153,7 @@ - + Your Reference @@ -170,16 +170,16 @@ -[[ o.client_order_ref ]] +[[ o.client_order_ref ]] -[[ o.date_order ]] +[[ o.date_order ]] -[[ o.user_id.name ]] +[[ o.user_id.name ]] -[[ o.partner_id.property_payment_term and o.partner_id.property_payment_term.note or False ]] +[[ o.partner_id.property_payment_term and o.partner_id.property_payment_term.note or False ]] @@ -187,7 +187,7 @@ - + Description @@ -224,7 +224,7 @@ [[ line.price_unit ]] - [[ (line.discount and str(line.discount)+'%')or '' ]] + [[ (line.discount and str(line.discount)+'%')or '' ]] [[ line.price_subtotal ]] @@ -235,7 +235,7 @@ - +