Commit 5890e513 authored by Yusei Tahara's avatar Yusei Tahara

Revert changes at revision 38178.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38179 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 112bce1d
...@@ -180,7 +180,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -180,7 +180,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=DateTime(2006, 2, 2), date=DateTime(2006, 2, 2),
title='First One', title='First One',
parent_reference='1', parent_reference='1',
node_title='41 Receivable', node_title='41',
mirror_section_title='Client 1', mirror_section_title='Client 1',
debit=119.60, debit=119.60,
credit=0) credit=0)
...@@ -191,7 +191,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -191,7 +191,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=None, date=None,
title='', title='',
parent_reference='', parent_reference='',
node_title='4457 Collected VAT 10%', node_title='4457',
mirror_section_title='Client 1', mirror_section_title='Client 1',
debit=0, debit=0,
credit=19.60) credit=19.60)
...@@ -200,7 +200,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -200,7 +200,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=None, date=None,
title='', title='',
parent_reference='', parent_reference='',
node_title='7 Goods Sales', node_title='7',
mirror_section_title='Client 1', mirror_section_title='Client 1',
debit=0, debit=0,
credit=100) credit=100)
...@@ -211,7 +211,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -211,7 +211,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=DateTime(2006, 2, 2, 1, 1), date=DateTime(2006, 2, 2, 1, 1),
title='Second One', title='Second One',
parent_reference='2', parent_reference='2',
node_title='41 Receivable', node_title='41',
mirror_section_title='Client 2', mirror_section_title='Client 2',
debit=239.20, debit=239.20,
credit=0) credit=0)
...@@ -220,7 +220,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -220,7 +220,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=None, date=None,
title='', title='',
parent_reference='', parent_reference='',
node_title='4457 Collected VAT 10%', node_title='4457',
mirror_section_title='Client 2', mirror_section_title='Client 2',
debit=0, debit=0,
credit=39.20) credit=39.20)
...@@ -229,7 +229,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -229,7 +229,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=None, date=None,
title='', title='',
parent_reference='', parent_reference='',
node_title='7 Goods Sales', node_title='7',
mirror_section_title='Client 2', mirror_section_title='Client 2',
debit=0, debit=0,
credit=200) credit=200)
...@@ -242,7 +242,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -242,7 +242,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
# be tested with this framework # be tested with this framework
title='Third One', title='Third One',
parent_reference='3', parent_reference='3',
node_title='41 Receivable', node_title='41',
mirror_section_title='John Smith', mirror_section_title='John Smith',
debit=358.80, debit=358.80,
credit=0) credit=0)
...@@ -251,7 +251,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -251,7 +251,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
date=None, date=None,
title='', title='',
parent_reference='', parent_reference='',
node_title='4457 Collected VAT 10%', node_title='4457',
mirror_section_title='John Smith', mirror_section_title='John Smith',
debit=0, debit=0,
credit=58.80) credit=58.80)
...@@ -262,7 +262,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -262,7 +262,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
# this report # this report
title='Line Title', title='Line Title',
parent_reference='', parent_reference='',
node_title='7 Goods Sales', node_title='7',
mirror_section_title='John Smith', mirror_section_title='John Smith',
debit=0, debit=0,
credit=300) credit=300)
...@@ -353,7 +353,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -353,7 +353,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference=first.getSourceReference(), specific_reference=first.getSourceReference(),
date=DateTime(2006, 2, 2), date=DateTime(2006, 2, 2),
title='First One', title='First One',
node_title='41 Receivable', node_title='41',
debit=119.60, debit=119.60,
credit=0) credit=0)
# some values are only present when we display the first line of the # some values are only present when we display the first line of the
...@@ -362,14 +362,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -362,14 +362,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference='', specific_reference='',
date=None, date=None,
title='', title='',
node_title='4457 Collected VAT 10%', node_title='4457',
debit=0, debit=0,
credit=19.60) credit=19.60)
self.checkLineProperties(data_line_list[2], self.checkLineProperties(data_line_list[2],
specific_reference='', specific_reference='',
date=None, date=None,
title='', title='',
node_title='7 Goods Sales', node_title='7',
debit=0, debit=0,
credit=100) credit=100)
# second transaction # second transaction
...@@ -377,7 +377,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -377,7 +377,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference=second.getDestinationReference(), specific_reference=second.getDestinationReference(),
date=DateTime(2006, 2, 2, 1, 1), date=DateTime(2006, 2, 2, 1, 1),
title='Second One', title='Second One',
node_title='41 Receivable', node_title='41',
debit=119.60, debit=119.60,
credit=0) credit=0)
# some values are only present when we display the first line of the # some values are only present when we display the first line of the
...@@ -386,14 +386,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -386,14 +386,14 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference='', specific_reference='',
date=None, date=None,
title='', title='',
node_title='4457 Collected VAT 10%', node_title='4457',
debit=0, debit=0,
credit=19.60) credit=19.60)
self.checkLineProperties(data_line_list[5], self.checkLineProperties(data_line_list[5],
specific_reference='', specific_reference='',
date=None, date=None,
title='', title='',
node_title='7 Goods Sales', node_title='7',
debit=0, debit=0,
credit=100) credit=100)
...@@ -473,7 +473,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -473,7 +473,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference=transaction.getSourceReference(), specific_reference=transaction.getSourceReference(),
date=DateTime(2006, 2, 2), date=DateTime(2006, 2, 2),
title='Good One', title='Good One',
node_title='41 Receivable', node_title='41',
mirror_section_title='Client 1', mirror_section_title='Client 1',
debit=100, debit=100,
credit=0) credit=0)
...@@ -481,7 +481,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -481,7 +481,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
specific_reference='', specific_reference='',
date=None, date=None,
title='', title='',
node_title='5 Bank', node_title='5',
mirror_section_title='Client 1', mirror_section_title='Client 1',
debit=0, debit=0,
credit=100) credit=100)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment