From 34b1314bb2804e196a765eb7f829b5abdac8f2db Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 27 May 2013 18:51:33 +0200 Subject: [PATCH] [FIX] sale: removed fontName from sale order report in order to allow a default style definition in company (to allow chinese characters for example, with Sun-ExtA font) bzr revid: qdp-launchpad@openerp.com-20130527165133-81sps2mv2wgqb98w --- addons/sale/report/sale_order.rml | 93 ++++++++++++------------------- 1 file changed, 36 insertions(+), 57 deletions(-) diff --git a/addons/sale/report/sale_order.rml b/addons/sale/report/sale_order.rml index 130220535f9..3bddf81ade8 100644 --- a/addons/sale/report/sale_order.rml +++ b/addons/sale/report/sale_order.rml @@ -89,40 +89,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -133,22 +112,22 @@ - Description + Description - Tax + Tax - Quantity + Quantity - Unit Price + Unit Price - Disc.(%) + Disc.(%) - Price + Price @@ -162,13 +141,13 @@ - Shipping address : + Shipping address : [[ (o.partner_shipping_id and o.partner_id.title and o.partner_shipping_id.title.name) or '' ]] [[ (o.partner_shipping_id and o.partner_shipping_id.name) or '' ]] [[ o.partner_shipping_id and display_address(o.partner_shipping_id) ]] - Invoice address : + Invoice address : [[ (o.partner_invoice_id and o.partner_invoice_id.title and o.partner_invoice_id.title.name) or '' ]] [[ (o.partner_invoice_id and o.partner_invoice_id.name) or '' ]] [[ o.partner_invoice_id and display_address(o.partner_invoice_id) ]] @@ -195,25 +174,25 @@ - [[ o.state not in ['draft','sent'] and removeParentNode('para') ]] Quotation N° [[ o.name ]] - [[ o.state in ['draft','sent'] and removeParentNode('para') ]] Order N° [[ o.name ]] + [[ o.state not in ['draft','sent'] and removeParentNode('para') ]] Quotation N° [[ o.name ]] + [[ o.state in ['draft','sent'] and removeParentNode('para') ]] Order N° [[ o.name ]] - Your Reference + Your Reference - [[ o.state in ['draft','sent'] and removeParentNode('para') ]] Date Ordered - [[ o.state not in ['draft','sent'] and removeParentNode('para') ]] Quotation Date + [[ o.state in ['draft','sent'] and removeParentNode('para') ]] Date Ordered + [[ o.state not in ['draft','sent'] and removeParentNode('para') ]] Quotation Date - Salesperson + Salesperson - Payment Term + Payment Term @@ -239,22 +218,22 @@ - Description + Description - Tax + Tax - Quantity + Quantity - Unit Price + Unit Price - [[not show_discount(user.id) and removeParentNode('para') ]]Disc.(%) + [[not show_discount(user.id) and removeParentNode('para') ]]Disc.(%) - Price + Price @@ -317,10 +296,10 @@ - Total : + Total : - [[ formatLang(o.amount_total, dp='Account', currency_obj=o.pricelist_id.currency_id) ]] + [[ formatLang(o.amount_total, dp='Account', currency_obj=o.pricelist_id.currency_id) ]]