Commit 55de1dac authored by Nicolas Delaby's avatar Nicolas Delaby

No needs to go further if item is not attached to an active movement

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39851 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8756eca3
......@@ -59,7 +59,8 @@ if at_date is None:\n
\n
last_affectation_list = context.portal_simulation.getCurrentTrackingList(\n
item=context.getRelativeUrl())\n
\n
if not last_affectation_list:\n
return None\n
last_affectation_date_list = [x.getDate() for x in last_affectation_list]\n
last_affectation_date_list.sort()\n
first_affectation_list = context.portal_simulation.getCurrentTrackingList(\n
......
211
\ No newline at end of file
212
\ 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