From 5890e513c73c9a2e98cd32257f74426ff68649ff Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Wed, 8 Sep 2010 04:30:46 +0000 Subject: [PATCH] Revert changes at revision 38178. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38179 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testAccountingReports.py | 34 ++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/product/ERP5/tests/testAccountingReports.py b/product/ERP5/tests/testAccountingReports.py index 2ebfab90a5d..5cf24f63472 100644 --- a/product/ERP5/tests/testAccountingReports.py +++ b/product/ERP5/tests/testAccountingReports.py @@ -180,7 +180,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=DateTime(2006, 2, 2), title='First One', parent_reference='1', - node_title='41 Receivable', + node_title='41', mirror_section_title='Client 1', debit=119.60, credit=0) @@ -191,7 +191,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=None, title='', parent_reference='', - node_title='4457 Collected VAT 10%', + node_title='4457', mirror_section_title='Client 1', debit=0, credit=19.60) @@ -200,7 +200,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=None, title='', parent_reference='', - node_title='7 Goods Sales', + node_title='7', mirror_section_title='Client 1', debit=0, credit=100) @@ -211,7 +211,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=DateTime(2006, 2, 2, 1, 1), title='Second One', parent_reference='2', - node_title='41 Receivable', + node_title='41', mirror_section_title='Client 2', debit=239.20, credit=0) @@ -220,7 +220,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=None, title='', parent_reference='', - node_title='4457 Collected VAT 10%', + node_title='4457', mirror_section_title='Client 2', debit=0, credit=39.20) @@ -229,7 +229,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=None, title='', parent_reference='', - node_title='7 Goods Sales', + node_title='7', mirror_section_title='Client 2', debit=0, credit=200) @@ -242,7 +242,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): # be tested with this framework title='Third One', parent_reference='3', - node_title='41 Receivable', + node_title='41', mirror_section_title='John Smith', debit=358.80, credit=0) @@ -251,7 +251,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): date=None, title='', parent_reference='', - node_title='4457 Collected VAT 10%', + node_title='4457', mirror_section_title='John Smith', debit=0, credit=58.80) @@ -262,7 +262,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): # this report title='Line Title', parent_reference='', - node_title='7 Goods Sales', + node_title='7', mirror_section_title='John Smith', debit=0, credit=300) @@ -353,7 +353,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference=first.getSourceReference(), date=DateTime(2006, 2, 2), title='First One', - node_title='41 Receivable', + node_title='41', debit=119.60, credit=0) # some values are only present when we display the first line of the @@ -362,14 +362,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference='', date=None, title='', - node_title='4457 Collected VAT 10%', + node_title='4457', debit=0, credit=19.60) self.checkLineProperties(data_line_list[2], specific_reference='', date=None, title='', - node_title='7 Goods Sales', + node_title='7', debit=0, credit=100) # second transaction @@ -377,7 +377,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference=second.getDestinationReference(), date=DateTime(2006, 2, 2, 1, 1), title='Second One', - node_title='41 Receivable', + node_title='41', debit=119.60, credit=0) # some values are only present when we display the first line of the @@ -386,14 +386,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference='', date=None, title='', - node_title='4457 Collected VAT 10%', + node_title='4457', debit=0, credit=19.60) self.checkLineProperties(data_line_list[5], specific_reference='', date=None, title='', - node_title='7 Goods Sales', + node_title='7', debit=0, credit=100) @@ -473,7 +473,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference=transaction.getSourceReference(), date=DateTime(2006, 2, 2), title='Good One', - node_title='41 Receivable', + node_title='41', mirror_section_title='Client 1', debit=100, credit=0) @@ -481,7 +481,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): specific_reference='', date=None, title='', - node_title='5 Bank', + node_title='5', mirror_section_title='Client 1', debit=0, credit=100) -- 2.30.9