Commit 4a900b77 authored by Sebastien Robin's avatar Sebastien Robin

make sure the quantity is stored on simulation movement


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 92c6f1f0
......@@ -134,11 +134,15 @@ class DeliveryRule(Rule):
delivery_value=delivery_movement,
# XXX Do we need to copy the quantity
# Why not the resource, the variation,...
# force_update is required in order
# to make sure the quantity is stored
# on the movement
quantity=delivery_movement.getQuantity(),
variation_category_list=\
delivery_movement.getVariationCategoryList(),
delivery_ratio=1,
deliverable=1)
deliverable=1,
force_update=1)
except AttributeError:
LOG('ERP5: WARNING', 0,
......
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