From d206309d75454da7585deace4d09cbbc92a2b03a Mon Sep 17 00:00:00 2001 From: "VRA , GPA" <> Date: Wed, 17 Jun 2009 20:16:17 +0530 Subject: [PATCH] [FIX] Purchase: Corrected report and translation lp bug: https://launchpad.net/bugs/386297 fixed bzr revid: jvo@tinyerp.com-20090617144617-thmku0rh6thj3fkr --- addons/purchase/i18n/fr_FR.po | 10 ++++++++++ addons/purchase/report/order.rml | 31 +++++++++++++++++-------------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/addons/purchase/i18n/fr_FR.po b/addons/purchase/i18n/fr_FR.po index a60da7b5711..a04200ef469 100644 --- a/addons/purchase/i18n/fr_FR.po +++ b/addons/purchase/i18n/fr_FR.po @@ -41,6 +41,16 @@ msgstr "Du Colisage" msgid "Validated By" msgstr "Validée par" +#. module: purchase +#: rml:purchase.order:0 +msgid "Request for Quotation N°" +msgstr "Demande de Devis N °" + +#. module: purchase +#: rml:purchase.order:0 +msgid "Purchase Order Confirmation N°" +msgstr "Confirmation de la commande d'achat N °" + #. module: purchase #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml index d945dc1802f..a9713776b4f 100644 --- a/addons/purchase/report/order.rml +++ b/addons/purchase/report/order.rml @@ -98,6 +98,8 @@ + + @@ -153,13 +155,13 @@ [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]] Shipping address : - [[ addr.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.country_id and addr.country_id.name or '' ]] + [[ 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.country_id and addr.country_id.name or '' ]] @@ -180,12 +182,12 @@ [[ 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 '' ]] + Tél. : [[ o.partner_address_id.phone or '' ]] + Fax : [[ o.partner_address_id.fax or '' ]] + TVA : [[ o.partner_id.vat or '' ]] @@ -198,7 +200,8 @@ - [[ (o.state=='draft' or removeParentNode('font')) and 'Request for Quotation' ]] [[ (o.state<>'draft' or removeParentNode('font')) and 'Purchase Order Confirmation' ]] 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 ]] @@ -237,7 +240,7 @@ - + Description @@ -261,7 +264,7 @@
[[repeatIn(o.order_line,'line')]] - + [[ line.name ]]