Commit 502dbb08 authored by Jérome Perrin's avatar Jérome Perrin

pass context to getReportSectionList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21532 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e55eb259
...@@ -154,6 +154,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -154,6 +154,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountingTransactionModule_viewJournalReport') 'AccountingTransactionModule_viewJournalReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -317,6 +318,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -317,6 +318,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['payment'] = bank1.getRelativeUrl() request_form['payment'] = bank1.getRelativeUrl()
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountingTransactionModule_viewJournalReport') 'AccountingTransactionModule_viewJournalReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -531,6 +533,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -531,6 +533,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -629,6 +632,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -629,6 +632,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -700,6 +704,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -700,6 +704,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -804,6 +809,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -804,6 +809,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['detailed_from_date_summary'] = 1 request_form['detailed_from_date_summary'] = 1
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
# the report has 4 sections, # the report has 4 sections,
self.assertEquals(4, len(report_section_list)) self.assertEquals(4, len(report_section_list))
...@@ -875,6 +881,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -875,6 +881,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -935,6 +942,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -935,6 +942,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -993,6 +1001,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -993,6 +1001,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -1046,6 +1055,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1046,6 +1055,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -1090,6 +1100,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1090,6 +1100,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1122,6 +1133,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1122,6 +1133,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['stopped', 'confirmed'] request_form['simulation_state'] = ['stopped', 'confirmed']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewAccountStatementReport') 'AccountModule_viewAccountStatementReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1157,6 +1169,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1157,6 +1169,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1254,6 +1267,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1254,6 +1267,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1365,6 +1379,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1365,6 +1379,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1448,6 +1463,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1448,6 +1463,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1511,6 +1527,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1511,6 +1527,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1589,6 +1606,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1589,6 +1606,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1655,6 +1673,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1655,6 +1673,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1733,6 +1752,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1733,6 +1752,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1799,6 +1819,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1799,6 +1819,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1869,6 +1890,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1869,6 +1890,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1910,6 +1932,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1910,6 +1932,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 0 request_form['per_account_class_summary'] = 0
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -1986,6 +2009,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -1986,6 +2009,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['per_account_class_summary'] = 1 request_form['per_account_class_summary'] = 1
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewTrialBalanceReport') 'AccountModule_viewTrialBalanceReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
line_list = self.getListBoxLineList(report_section_list[0]) line_list = self.getListBoxLineList(report_section_list[0])
...@@ -2034,6 +2058,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -2034,6 +2058,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
request_form['simulation_state'] = ['delivered'] request_form['simulation_state'] = ['delivered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountModule_viewGeneralLedgerReport') 'AccountModule_viewGeneralLedgerReport')
self.assertEquals(6, len(report_section_list)) self.assertEquals(6, len(report_section_list))
......
...@@ -374,6 +374,7 @@ class TestCrmReports(CrmTestCase): ...@@ -374,6 +374,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.campaign_module,
'CampaignModule_viewCampaignStatusReport') 'CampaignModule_viewCampaignStatusReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -521,6 +522,7 @@ class TestCrmReports(CrmTestCase): ...@@ -521,6 +522,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.campaign_module,
'CampaignModule_viewCampaignDetailedReport') 'CampaignModule_viewCampaignDetailedReport')
self.assertEquals(2, len(report_section_list)) self.assertEquals(2, len(report_section_list))
...@@ -684,6 +686,7 @@ class TestCrmReports(CrmTestCase): ...@@ -684,6 +686,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.meeting_module,
'MeetingModule_viewMeetingStatusReport') 'MeetingModule_viewMeetingStatusReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -829,6 +832,7 @@ class TestCrmReports(CrmTestCase): ...@@ -829,6 +832,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.meeting_module,
'MeetingModule_viewMeetingDetailedReport') 'MeetingModule_viewMeetingDetailedReport')
self.assertEquals(2, len(report_section_list)) self.assertEquals(2, len(report_section_list))
...@@ -992,6 +996,7 @@ class TestCrmReports(CrmTestCase): ...@@ -992,6 +996,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.support_request_module,
'SupportRequestModule_viewSupportRequestStatusReport') 'SupportRequestModule_viewSupportRequestStatusReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -1137,6 +1142,7 @@ class TestCrmReports(CrmTestCase): ...@@ -1137,6 +1142,7 @@ class TestCrmReports(CrmTestCase):
request_form['validation_state'] = ['validated',] request_form['validation_state'] = ['validated',]
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.support_request_module,
'SupportRequestModule_viewSupportRequestDetailedReport') 'SupportRequestModule_viewSupportRequestDetailedReport')
self.assertEquals(2, len(report_section_list)) self.assertEquals(2, len(report_section_list))
...@@ -1300,6 +1306,7 @@ class TestCrmReports(CrmTestCase): ...@@ -1300,6 +1306,7 @@ class TestCrmReports(CrmTestCase):
request_form['sale_opportunity_state'] = ['contacted','offered'] request_form['sale_opportunity_state'] = ['contacted','offered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.sale_opportunity_module,
'SaleOpportunityModule_viewSaleOpportunityStatusReport') 'SaleOpportunityModule_viewSaleOpportunityStatusReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -1445,6 +1452,7 @@ class TestCrmReports(CrmTestCase): ...@@ -1445,6 +1452,7 @@ class TestCrmReports(CrmTestCase):
request_form['sale_opportunity_state'] = ['contacted','offered'] request_form['sale_opportunity_state'] = ['contacted','offered']
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.sale_opportunity_module,
'SaleOpportunityModule_viewSaleOpportunityDetailedReport') 'SaleOpportunityModule_viewSaleOpportunityDetailedReport')
self.assertEquals(2, len(report_section_list)) self.assertEquals(2, len(report_section_list))
...@@ -1701,6 +1709,7 @@ class TestCrmReports(CrmTestCase): ...@@ -1701,6 +1709,7 @@ class TestCrmReports(CrmTestCase):
request_form['from_date'] = DateTime(2007, 1, 1) request_form['from_date'] = DateTime(2007, 1, 1)
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.event_module,
'EventModule_viewEventActivityReport') 'EventModule_viewEventActivityReport')
#Obtain 2 listbox with outgoing and incoming events #Obtain 2 listbox with outgoing and incoming events
self.assertEquals(2, len(report_section_list)) self.assertEquals(2, len(report_section_list))
...@@ -2043,6 +2052,7 @@ class TestCrmReports(CrmTestCase): ...@@ -2043,6 +2052,7 @@ class TestCrmReports(CrmTestCase):
request_form['from_date'] = DateTime(2007, 1, 1) request_form['from_date'] = DateTime(2007, 1, 1)
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.event_module,
'EventModule_viewEventDetailedReport') 'EventModule_viewEventDetailedReport')
#Obtain 1 listbox with outgoing and incoming events #Obtain 1 listbox with outgoing and incoming events
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
......
...@@ -1663,6 +1663,7 @@ class TestPayroll(TestPayrollMixin): ...@@ -1663,6 +1663,7 @@ class TestPayroll(TestPayrollMixin):
request_form['mirror_section'] = provider.getRelativeUrl() request_form['mirror_section'] = provider.getRelativeUrl()
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountingTransactionModule_viewPaySheetLineReport') 'AccountingTransactionModule_viewPaySheetLineReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
...@@ -1851,6 +1852,7 @@ class TestPayroll(TestPayrollMixin): ...@@ -1851,6 +1852,7 @@ class TestPayroll(TestPayrollMixin):
request_form['mirror_section'] = provider.getRelativeUrl() request_form['mirror_section'] = provider.getRelativeUrl()
report_section_list = self.getReportSectionList( report_section_list = self.getReportSectionList(
self.portal.accounting_module,
'AccountingTransactionModule_viewPaySheetLineReport') 'AccountingTransactionModule_viewPaySheetLineReport')
self.assertEquals(1, len(report_section_list)) self.assertEquals(1, len(report_section_list))
......
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