[Erp5-report] r38179 yusei - /erp5/trunk/products/ERP5/tests/testAccountingReports.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 8 06:30:48 CEST 2010


Author: yusei
Date: Wed Sep  8 06:30:46 2010
New Revision: 38179

URL: http://svn.erp5.org?rev=38179&view=rev
Log:
Revert changes at revision 38178.

Modified:
    erp5/trunk/products/ERP5/tests/testAccountingReports.py

Modified: erp5/trunk/products/ERP5/tests/testAccountingReports.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingReports.py?rev=38179&r1=38178&r2=38179&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingReports.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingReports.py [utf8] Wed Sep  8 06:30:46 2010
@@ -180,7 +180,7 @@ class TestAccountingReports(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                               # 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(AccountingTe
                             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(AccountingTe
                             # 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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             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(AccountingTe
                             specific_reference='',
                             date=None,
                             title='',
-                            node_title='5 Bank',
+                            node_title='5',
                             mirror_section_title='Client 1',
                             debit=0,
                             credit=100)




More information about the Erp5-report mailing list