From 93fd5dd79e2830aea1ded73ebe48e952b00c0fa5 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 28 May 2013 10:19:55 +0200 Subject: [PATCH] [FIX] purchase: removed fontName from RFQ and PO reports 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-20130528081955-20t8gzr5tm6vsktn --- addons/purchase/report/order.rml | 84 ++++++++------------ addons/purchase/report/request_quotation.rml | 55 ++++--------- 2 files changed, 47 insertions(+), 92 deletions(-) diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml index 1794bea19c4..6eb1b2167ee 100644 --- a/addons/purchase/report/order.rml +++ b/addons/purchase/report/order.rml @@ -94,38 +94,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -136,22 +114,22 @@ - Description + Description - Taxes + Taxes - Date Req. + Date Req. - Qty + Qty - Unit Price + Unit Price - Net Price + Net Price @@ -165,7 +143,7 @@ - Shipping address : + Shipping address : [[ (o.dest_address_id and o.dest_address_id.name) or (o.warehouse_id and o.warehouse_id.name) or '']] [[ (o.dest_address_id and display_address(o.dest_address_id)) or (o.warehouse_id and display_address(o.warehouse_id.partner_id)) or '']] @@ -195,24 +173,24 @@ - [[ o.state=='draft' and removeParentNode('para') ]] Purchase Order Confirmation N° [[ o.name ]] - [[ o.state<>'draft' and removeParentNode('para') ]] Request for Quotation N° [[ o.name ]] + [[ o.state=='draft' and removeParentNode('para') ]] Purchase Order Confirmation N° [[ o.name ]] + [[ o.state<>'draft' and removeParentNode('para') ]] Request for Quotation N° [[ o.name ]] - Our Order Reference + Our Order Reference - Your Order Reference + Your Order Reference - Order Date + Order Date - Validated By + Validated By @@ -238,22 +216,22 @@ - Description + Description - Taxes + Taxes - Date Req. + Date Req. - Qty + Qty - Unit Price + Unit Price - Net Price + Net Price @@ -316,10 +294,10 @@ - Total : + Total : - [[ formatLang(o.amount_total, digits=get_digits(dp='Account') , currency_obj=o.pricelist_id.currency_id) ]] + [[ formatLang(o.amount_total, digits=get_digits(dp='Account') , currency_obj=o.pricelist_id.currency_id) ]] diff --git a/addons/purchase/report/request_quotation.rml b/addons/purchase/report/request_quotation.rml index 8e5e73ee588..b7b4776d635 100644 --- a/addons/purchase/report/request_quotation.rml +++ b/addons/purchase/report/request_quotation.rml @@ -36,40 +36,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + @@ -84,7 +61,7 @@ - Expected Delivery address: + Expected Delivery address: [[ (order.dest_address_id and order.dest_address_id.name) or (order.warehouse_id and order.warehouse_id.name) or '']] [[ order.dest_address_id and display_address(order.dest_address_id) ]] @@ -114,20 +91,20 @@ - Request for Quotation : [[order.name]] + Request for Quotation : [[order.name]] - Description + Description - Expected Date + Expected Date - Qty + Qty