diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_generateDomain.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_generateDomain.xml index 0c5eeda7fa0f6a1c41242c598d9117e1337b45c8..003ee976eae33b00cda844f1e33fcc3b67380353 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_generateDomain.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_generateDomain.xml @@ -90,7 +90,7 @@ else:\n for category in category_list:\n domain = parent.generateTempDomain(id = \'sub\' + category.getId() )\n domain.edit(title = category.getTitle(),\n - membership_criterion_base_category = (\'source\', \'destination\' ), \n + membership_criterion_base_category = (\'parent\', ), \n membership_criterion_category = (category.getRelativeUrl(),),\n domain_generator_method_id = script.id,\n uid = category.getUid())\n diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_getTaskReportList.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_getTaskReportList.xml index a4139acbeb5cb2b211d3bd79a8f11d7107fa0a27..224b6df1b16163077d10471275da76da355af1a8 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_getTaskReportList.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_getTaskReportList.xml @@ -69,17 +69,9 @@ <item> <key> <string>_body</string> </key> <value> <string># Get the Object showed at List Box \n -node_list = context.portal_selections.getSelectionValueList(context=context, \n +return context.portal_selections.getSelectionValueList(context=context, \n REQUEST=context.REQUEST, \n selection_name=\'task_report_selection\')\n -\n -return_list = [ i.asContext() for i in node_list ]\n -\n -for j in return_list:\n - # Creates the relation just for Planning Box Presentation\n - j.edit(source=context.task_report_module.getRelativeUrl())\n -\n -return return_list\n </string> </value> </item> <item> @@ -102,7 +94,7 @@ return return_list\n </item> <item> <key> <string>_params</string> </key> - <value> <string>to_date=None, from_date=None, portal_type=None, **kw</string> </value> + <value> <string>**kw</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -122,25 +114,15 @@ return return_list\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>3</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>co_varnames</string> </key> <value> <tuple> - <string>to_date</string> - <string>from_date</string> - <string>portal_type</string> <string>kw</string> <string>_getattr_</string> <string>context</string> - <string>node_list</string> - <string>append</string> - <string>$append0</string> - <string>_getiter_</string> - <string>i</string> - <string>return_list</string> - <string>j</string> </tuple> </value> </item> @@ -152,11 +134,7 @@ return return_list\n <item> <key> <string>func_defaults</string> </key> <value> - <tuple> - <none/> - <none/> - <none/> - </tuple> + <none/> </value> </item> <item> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index ab760c939afd177a8fb0343cb528e9e7e5ca1244..194ba8cc7594b96181da7c25c73002be08d56ff5 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -319 \ No newline at end of file +320 \ No newline at end of file