Commit b810324f authored by Jérome Perrin's avatar Jérome Perrin

don't pass REQUEST to updateSelectionCheckedUidList, otherwise it will redirect to original form

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca94eaf4
......@@ -57,7 +57,6 @@
from Products.ERP5Type.Message import translateString\n
item_list = []\n
request = context.REQUEST\n
portal = context.getPortalObject()\n
getObject = portal.portal_catalog.getObject\n
selection_tool = portal.portal_selections\n
......@@ -80,7 +79,7 @@ else:\n
\n
# update selected uids \n
selection_tool.updateSelectionCheckedUidList(\n
list_selection_name, uids=uids, listbox_uid=listbox_uid, REQUEST=request)\n
list_selection_name, uids=uids, listbox_uid=listbox_uid, REQUEST=None)\n
uids = selection_tool.getSelectionCheckedUidsFor(list_selection_name)\n
\n
\n
......@@ -189,18 +188,17 @@ return context.Base_redirect(form_id, keep_items=dict(\n
<string>item_list</string>
<string>_getattr_</string>
<string>context</string>
<string>request</string>
<string>portal</string>
<string>getObject</string>
<string>selection_tool</string>
<string>line_portal_type</string>
<string>cell_portal_type</string>
<string>NotImplementedError</string>
<string>None</string>
<string>_getiter_</string>
<string>item_uid</string>
<string>item</string>
<string>item_variation</string>
<string>None</string>
<string>cell_found</string>
<string>cell</string>
<string>movement_to_update</string>
......
161
\ No newline at end of file
163
\ 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