Commit 07809c02 authored by Romain Courteaud's avatar Romain Courteaud

Resource can be a category.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32552 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2744b5d6
......@@ -82,7 +82,7 @@ if request_stop_date:\n
if request_validation_state:\n
query_dict[\'simulation_state\'] = request_validation_state\n
if request_ticket_type:\n
query_dict[\'movement.resource_uid\'] = [portal.restrictedTraverse(x).getUid() \n
query_dict[\'movement.resource_uid\'] = [portal.portal_categories.restrictedTraverse(x).getUid() \n
for x in request_ticket_type]\n
section_uid = context.Base_getSectionUidListForSectionCategory(request.get(\'section_category\',None))\n
\n
......
......@@ -78,7 +78,7 @@ if request_stop_date:\n
if request_validation_state:\n
query_dict[\'simulation_state\'] = request_validation_state\n
if request_ticket_type:\n
query_dict[\'movement.resource_uid\'] = [portal.restrictedTraverse(x).getUid() \n
query_dict[\'movement.resource_uid\'] = [portal.portal_categories.restrictedTraverse(x).getUid() \n
for x in request_ticket_type]\n
section_uid = context.Base_getSectionUidListForSectionCategory(request.get(\'section_category\',None))\n
\n
......
457
\ No newline at end of file
458
\ No newline at end of file
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