Commit fd40506a authored by Łukasz Nowak's avatar Łukasz Nowak

- do not add not delivered lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28682 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 87847c81
......@@ -84,7 +84,8 @@ for movement in movement_list:\n
if line is None:\n
line = movement.getParentValue().getParentValue().getDeliveryValue()\n
\n
deliveries_keys[line.getExplanationValue()] = 1\n
if line is not None:\n
deliveries_keys[line.getExplanationValue()] = 1\n
\n
return filter(lambda x : x is not None, deliveries_keys.keys())\n
</string> </value>
......
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