diff --git a/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/PersonModule_getLeaveRequestReportListboxUntranslatableColumnList.xml b/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/PersonModule_getLeaveRequestReportListboxUntranslatableColumnList.xml index c60733c0842530a1982063e1a5b50e63ea517aa8..7442c2933ce509683b8cc308a194b4bb47b63924 100644 --- a/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/PersonModule_getLeaveRequestReportListboxUntranslatableColumnList.xml +++ b/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/PersonModule_getLeaveRequestReportListboxUntranslatableColumnList.xml @@ -73,8 +73,6 @@ stool = portal.portal_simulation\n from_date = request[\'from_date\']\n to_date = request[\'to_date\']\n \n -result_list = [ ]\n -\n # get all resources used for leave requests\n resource_list = []\n for inventory in stool.getInventoryList(\n @@ -87,7 +85,7 @@ for inventory in stool.getInventoryList(\n portal.portal_categories.restrictedTraverse(\n inventory.resource_relative_url).getTitle()))\n \n -return result_list\n +return resource_list\n </string> </value> </item> <item> @@ -142,7 +140,6 @@ return result_list\n <string>_getitem_</string> <string>from_date</string> <string>to_date</string> - <string>result_list</string> <string>resource_list</string> <string>_getiter_</string> <string>inventory</string> diff --git a/bt5/erp5_calendar/bt/revision b/bt5/erp5_calendar/bt/revision index 0dbf139f8d1a85546880d56c8ff838638c454501..b2786cdcdc01d7ec1c11b9d3bcfb793bf3a81643 100644 --- a/bt5/erp5_calendar/bt/revision +++ b/bt5/erp5_calendar/bt/revision @@ -1 +1 @@ -350 \ No newline at end of file +351 \ No newline at end of file