From 56d65e54feb930e7bc90576c0b65e668fe6d1ced Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Tue, 14 Dec 2010 17:35:58 +0200 Subject: [PATCH] account: fix invoice report, second page header must be in partner's lang The PTO header for the second+ pages was rendered before the setting of partner's language, which meant that it would be translated to the user's lang. Move the xml block to fix that. bzr revid: p_christ@hol.gr-20101214153558-b93h81ys6fhad5w1 --- .../account/report/account_print_invoice.rml | 36 +++++++------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/addons/account/report/account_print_invoice.rml b/addons/account/report/account_print_invoice.rml index 6e67879d81c..80ccd2aabae 100644 --- a/addons/account/report/account_print_invoice.rml +++ b/addons/account/report/account_print_invoice.rml @@ -131,32 +131,20 @@ - - - - - Description - - - Taxes - - - Quantity - - - Unit Price - - - Disc.(%) - - - Price - - - - [[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] + + + + Description + Taxes + Quantity + Unit Price + Disc.(%) + Price + + +