Commit d1c603e1 authored by Jean-Paul Smets's avatar Jean-Paul Smets

improved by tb


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@84 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afb5d902
......@@ -35,5 +35,10 @@ for taille in taille_list :
target_quantity_list.append(delivery_line.getCell(my_coloris, my_taille, base_id='movement').getProperty(key="target_quantity"))
else :
target_quantity_list.append(0)
else : # coloris is None :
if delivery_line.getCell(None, my_taille, base_id='movement') <> None :
target_quantity_list.append(delivery_line.getCell(None, my_taille, base_id='movement').getProperty(key="target_quantity"))
else :
target_quantity_list.append(0)
return target_quantity_list
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