Commit ca5a183e authored by Nicolas Delaby's avatar Nicolas Delaby

Fix undefined variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43136 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent de347422
......@@ -54,6 +54,7 @@
if len(last_affectation_list):\n
last_affectation = last_affectation_list[0]\n
if last_affectation.delivery_uid is not None:\n
portal = context.getPortalObject()\n
movement = portal.portal_catalog.getObject(last_affectation.delivery_uid)\n
variation_list = [x[0] for x in movement.getVariationCategoryItemList()]\n
variation = \',\'.join(variation_list)\n
......
286
\ No newline at end of file
287
\ 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