Commit cb829b8f authored by Alexandre Boeglin's avatar Alexandre Boeglin

PackingList_doSolveActions: fix a bug in getting line properties. Thanks to...

PackingList_doSolveActions: fix a bug in getting line properties. Thanks to Shresth K for reporting and fixing it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18928 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 650bae59
......@@ -76,7 +76,8 @@ split_and_defer = 0\n
\n
if listbox is not None:\n
context.updateAppliedRule("default_delivery_rule")\n
for line in listbox:\n
for line_key in listbox:\n
line = listbox[line_key]\n
url = line[\'listbox_key\']\n
quantity = line[\'quantity\']\n
movement = context.restrictedTraverse(url)\n
......@@ -169,8 +170,9 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>split_and_defer</string>
<string>None</string>
<string>_getiter_</string>
<string>line</string>
<string>line_key</string>
<string>_getitem_</string>
<string>line</string>
<string>url</string>
<string>quantity</string>
<string>movement</string>
......
160
\ No newline at end of file
164
\ 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