Commit 9bce784a authored by Sebastien Robin's avatar Sebastien Robin

script called by the print button, used in order to update checked_uids


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1045 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bcbc82c0
##parameters=selection_name='',form_id='',uids=[],listbox_uid=[]
request = context.REQUEST
list_actions = context.portal_actions.listFilteredActionsFor(context)
print_actions = list_actions['object_print']
url = print_actions[0]['url']
context.portal_selections.updateSelectionCheckedUidList(selection_name,listbox_uid,uids)
url += '?selection_name=%s&dialog_category=%s&form_id=%s' % (selection_name , 'object_print', form_id)
request.RESPONSE.redirect(url)
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