From a634bb35be02a3ea95b7e07ef8052f62bd803308 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 6 Feb 2012 13:33:34 +0100 Subject: [PATCH] [IMP] account: print journal report layout improvements bzr revid: qdp-launchpad@openerp.com-20120206123334-x70j7nzwo6vq5i5s --- addons/account/report/account_journal.rml | 4 ++-- .../report/account_journal_sale_purchase.rml | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/addons/account/report/account_journal.rml b/addons/account/report/account_journal.rml index c7353da3337..fb203d4e664 100644 --- a/addons/account/report/account_journal.rml +++ b/addons/account/report/account_journal.rml @@ -211,7 +211,7 @@ [[ set_last_move_id(False)]]
- [[ display_currency(data) == False or removeParentNode('section') ]] + [[ display_currency(data) == False or removeParentNode('section') ]] Move @@ -257,7 +257,7 @@
- [[ display_currency(data) or removeParentNode('section') ]] + [[ display_currency(data) or removeParentNode('section') ]] Move diff --git a/addons/account/report/account_journal_sale_purchase.rml b/addons/account/report/account_journal_sale_purchase.rml index 453968c8abd..68f93b88294 100644 --- a/addons/account/report/account_journal_sale_purchase.rml +++ b/addons/account/report/account_journal_sale_purchase.rml @@ -211,8 +211,8 @@ [[ set_last_move_id(False) ]]
- [[ display_currency(data) == False or removeParentNode('section') ]] - + [[ display_currency(data) == False or removeParentNode('section') ]] + Move Date @@ -232,12 +232,12 @@ [[ not check_last_move_id(line.move_id.id) and removeParentNode('blockTable') ]] - + [[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] [[ formatLang(line.date,date=True) ]] [[ line.account_id.code ]] - [[ line.partner_id and strip_name(line.partner_id.name,17) ]] + [[ line.partner_id and strip_name(line.partner_id.name,15) ]] [[ strip_name(line.name,25) ]] [[ line.tax_code_id and (line.tax_code_id.code + ':') ]] [[ line.tax_amount and formatLang(line.tax_amount, currency_obj=company.currency_id) ]] @@ -247,7 +247,7 @@ [[ set_last_move_id(line.move_id.id) ]]
- + @@ -263,8 +263,8 @@
- [[ display_currency(data) or removeParentNode('section') ]] - + [[ display_currency(data) or removeParentNode('section') ]] + Move Date @@ -285,13 +285,13 @@ [[ not check_last_move_id(line.move_id.id) and removeParentNode('blockTable') ]] - + [[ line.move_id.name <> '/' and line.move_id.name or ('*'+str(line.move_id.id)) ]] [[ formatLang(line.date,date=True) ]] [[ line.account_id.code ]] - [[ line.partner_id and strip_name(line.partner_id.name,17) ]] - [[ strip_name(line.name,17) ]] + [[ line.partner_id and strip_name(line.partner_id.name,12) ]] + [[ strip_name(line.name,16) ]] [[ line.tax_code_id and (line.tax_code_id.code + ':') ]] [[ line.tax_amount and formatLang(line.tax_amount, currency_obj=company.currency_id) ]] [[ formatLang(line.debit, currency_obj=company.currency_id) ]] @@ -301,7 +301,7 @@ [[ set_last_move_id(line.move_id.id) ]]
- +