From 82d4ad7932312cfe7141c848a911a2ea46ce4228 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 18 Nov 2010 15:59:36 +0530 Subject: [PATCH 01/10] =?UTF-8?q?[IMP]:account:improved=20general=20ledger?= =?UTF-8?q?=20report=20with=20reduce=20size=20of=20date=20to=20allow=20mor?= =?UTF-8?q?e=20space=20for=20partner=20and=20also=20set=20general=20rule?= =?UTF-8?q?=20for=20debit/credit/balance=20columns=20is=20that=20they=20sh?= =?UTF-8?q?ould=20be=20able=20to=20display=201.000.000.000,00=20=E2=82=AC?= =?UTF-8?q?=20on=20the=20same=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bzr revid: apa@tinyerp.com-20101118102936-ba7n221pxd7nr3yp --- .../account/report/account_general_ledger.rml | 39 ++++++++----------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/addons/account/report/account_general_ledger.rml b/addons/account/report/account_general_ledger.rml index 2a3bfda8e48..78a5fd35a46 100644 --- a/addons/account/report/account_general_ledger.rml +++ b/addons/account/report/account_general_ledger.rml @@ -3,9 +3,6 @@ @@ -93,7 +90,6 @@ - @@ -135,7 +131,6 @@ - @@ -179,24 +174,24 @@ - [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] + [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] Date Partner - Ref - Move + Ref + Move Entry Label Debit Credit Balance - [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] + [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] Date Partner - Ref - Move + Ref + Move Entry Label Debit Credit @@ -265,12 +260,12 @@ - [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] + [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] Date Partner - Ref - Move + Ref + Move Entry Label Debit Credit @@ -279,10 +274,10 @@
[[ repeatIn(get_children_accounts(a), 'o') ]] - [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]] + [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]] - + [[ '..'*(o.level-1) ]][[ o.code or '']] [[ o.name or '']] @@ -313,14 +308,12 @@
- - - [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] + [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] Date Partner - Ref - Move + Ref + Move Entry Label Debit Credit @@ -330,10 +323,10 @@
[[ repeatIn(get_children_accounts(a), 'o') ]] - [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] + [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]] - + [[ '..'*(o.level-1) ]][[ o.code or '' ]] [[ o.name or '' ]] From 5c4683dcf3b7c30574d9f901840e38b8dafaf2f9 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 18 Nov 2010 16:11:00 +0530 Subject: [PATCH 02/10] =?UTF-8?q?[IMP]:account:improved=20general=20ledger?= =?UTF-8?q?=20landscape=20with=20reduce=20size=20of=20date=20to=20allow=20?= =?UTF-8?q?more=20space=20for=20journal=20and=20also=20set=20general=20rul?= =?UTF-8?q?e=20for=20debit/credit/balance=20columns=20is=20that=20they=20s?= =?UTF-8?q?hould=20be=20able=20to=20display=201.000.000.000,00=20=E2=82=AC?= =?UTF-8?q?=20on=20the=20same=20line.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bzr revid: apa@tinyerp.com-20101118104100-wo3amck0d409xr15 --- .../account/report/account_general_ledger_landscape.rml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account/report/account_general_ledger_landscape.rml b/addons/account/report/account_general_ledger_landscape.rml index 430bde219e1..89a227483cd 100644 --- a/addons/account/report/account_general_ledger_landscape.rml +++ b/addons/account/report/account_general_ledger_landscape.rml @@ -272,7 +272,7 @@ - [[data['form']['amount_currency'] == True or removeParentNode('blockTable')]] + [[data['form']['amount_currency'] == True or removeParentNode('blockTable')]] Date JNRL @@ -291,7 +291,7 @@ [[ repeatIn(get_children_accounts(a), 'o') ]] - [[data['form']['amount_currency'] == True or removeParentNode('blockTable')]] + [[data['form']['amount_currency'] == True or removeParentNode('blockTable')]] @@ -333,7 +333,7 @@
- [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]] + [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]] Date JNRL @@ -352,7 +352,7 @@ [[ repeatIn(get_children_accounts(a), 'o') ]] - [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] + [[data['form']['amount_currency'] == False or removeParentNode('blockTable')]] From 3c2c83077644b73051eceecf637d88e05522815d Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 18 Nov 2010 16:37:28 +0530 Subject: [PATCH 03/10] =?UTF-8?q?[IMP]:account:improved=20Journal=20report?= =?UTF-8?q?=20with=20set=20general=20rule=20for=20debit/credit/balance=20c?= =?UTF-8?q?olumns=20is=20that=20they=20should=20be=20able=20to=20display?= =?UTF-8?q?=201.000.000.000,00=20=E2=82=AC=20on=20the=20same=20line.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bzr revid: apa@tinyerp.com-20101118110728-pkremq7gxto0xk3n --- addons/account/report/account_journal.rml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/report/account_journal.rml b/addons/account/report/account_journal.rml index 7b4aaffc4ff..c2807a2e8a2 100644 --- a/addons/account/report/account_journal.rml +++ b/addons/account/report/account_journal.rml @@ -240,7 +240,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] Date Entry No @@ -274,7 +274,7 @@ - [[ display_currency(data) or removeParentNode('blockTable') ]] + [[ display_currency(data) or removeParentNode('blockTable') ]] Date Entry No From c2516bdce834688572a1a3f43ddfc4e38b6abaab Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 18 Nov 2010 17:26:06 +0530 Subject: [PATCH 04/10] Partner Ledger: ************** account-partner_ledger-other.pdf - fix row height! - display journal code instead of journal name_get - increase column ref of 2 digits - pdf title account-partner_ledger.pdf: - fix row height! - display journal code instead of journal name_get bzr revid: apa@tinyerp.com-20101118115606-at03l0m8rycms356 --- addons/account/account_report.xml | 2 +- .../account/report/account_partner_ledger.rml | 30 ++++++++--------- .../report/account_partner_ledger_other.rml | 33 +++++++++---------- 3 files changed, 32 insertions(+), 33 deletions(-) diff --git a/addons/account/account_report.xml b/addons/account/account_report.xml index 58e13b1b7e6..2b1a403e461 100644 --- a/addons/account/account_report.xml +++ b/addons/account/account_report.xml @@ -3,7 +3,7 @@ - + diff --git a/addons/account/report/account_partner_ledger.rml b/addons/account/report/account_partner_ledger.rml index b3a8e9f7fdc..96c0612d234 100644 --- a/addons/account/report/account_partner_ledger.rml +++ b/addons/account/report/account_partner_ledger.rml @@ -177,7 +177,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] Date @@ -186,7 +186,7 @@ JNRL - Ref. + Ref. Account @@ -205,7 +205,7 @@ - [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] Date @@ -214,10 +214,10 @@ JNRL - Ref. + Ref. - Account + Account Entry Label @@ -339,7 +339,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] Date @@ -348,7 +348,7 @@ JNRL - Ref. + Ref. Account @@ -373,7 +373,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] @@ -409,7 +409,7 @@
[[ repeatIn(lines(p), 'line') ]] - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] [[ formatLang(line['date'],date=True) ]] @@ -441,7 +441,7 @@
- [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] Date @@ -450,10 +450,10 @@ JNRL - Ref. + Ref. - Account + Account Entry Label @@ -478,7 +478,7 @@ - [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] @@ -522,7 +522,7 @@
[[ repeatIn(lines(p), 'line') ]] - [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] [[ formatLang(line['date'],date=True) ]] @@ -534,7 +534,7 @@ [[ line['move_name'] ]] - [[ line['a_code'] ]] + [[ line['a_code'] ]] [[ (line['ref'] or '') + ' ' + line['name'] ]] diff --git a/addons/account/report/account_partner_ledger_other.rml b/addons/account/report/account_partner_ledger_other.rml index c3315dde64d..24ac80dfc38 100644 --- a/addons/account/report/account_partner_ledger_other.rml +++ b/addons/account/report/account_partner_ledger_other.rml @@ -309,7 +309,7 @@ - + @@ -333,7 +333,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] Date @@ -342,7 +342,7 @@ JNRL - Ref. + Ref. Account @@ -361,7 +361,7 @@ - [[ display_currency(data) == True or removeParentNode('blockTable') ]] +[[ display_currency(data) == True or removeParentNode('blockTable') ]] Date @@ -370,10 +370,10 @@ JNRL - Ref. + Ref. - Account + Account Entry Label @@ -494,7 +494,7 @@ - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] Date @@ -503,7 +503,7 @@ JNRL - Ref. + Ref. Account @@ -524,7 +524,7 @@
[[ repeatIn(objects, 'p') ]] [[ setLang(p.lang) ]] - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] @@ -557,7 +557,7 @@
[[ repeatIn(lines(p), 'line') ]] - [[ display_currency(data) == False or removeParentNode('blockTable') ]] + [[ display_currency(data) == False or removeParentNode('blockTable') ]] [[ formatLang(line['date'],date=True) ]] @@ -587,7 +587,7 @@
- [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] Date @@ -596,10 +596,10 @@ JNRL - Ref. + Ref. - Account + Account Entry Label @@ -621,8 +621,7 @@
[[ repeatIn(objects, 'p') ]] [[ setLang(p.lang) ]] - [[ display_currency(data) == True or removeParentNode('blockTable') ]] - + [[ display_currency(data) == True or removeParentNode('blockTable') ]] [[ p.ref ]] - [[ p.name ]] @@ -662,7 +661,7 @@
[[ repeatIn(lines(p), 'line') ]] - [[ display_currency(data) == True or removeParentNode('blockTable') ]] + [[ display_currency(data) == True or removeParentNode('blockTable') ]] [[ formatLang(line['date'],date=True) ]] @@ -674,7 +673,7 @@ [[ line['move_name'] ]] - [[ line['a_code'] ]] + [[ line['a_code'] ]] [[ (line['ref'] or '') + ' ' + line['name'] ]] From c63030a9d92c6e523c4266179dd288cb2ca99c57 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Fri, 19 Nov 2010 15:09:41 +0530 Subject: [PATCH 05/10] [ADD/IMP]:account:Changed the size of landscape report in General ledger Report. bzr revid: apa@tinyerp.com-20101119093941-lxrkujkwmqz1yfmu --- .../account_general_ledger_landscape.rml | 949 +++++++++++------- 1 file changed, 591 insertions(+), 358 deletions(-) diff --git a/addons/account/report/account_general_ledger_landscape.rml b/addons/account/report/account_general_ledger_landscape.rml index 93cb6aead3c..b8797cd67a8 100644 --- a/addons/account/report/account_general_ledger_landscape.rml +++ b/addons/account/report/account_general_ledger_landscape.rml @@ -1,399 +1,632 @@ -