Commit 297b3a7d authored by Sebastien Robin's avatar Sebastien Robin

use acquisition as most as possible, this fix bugs when we change quantity or variations


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3724 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cfcf1155
......@@ -115,10 +115,7 @@ class OrderRule(DeliveryRule):
portal_type=delivery_line_type,
id=new_id,
order_value=order_movement,
quantity=order_movement.getQuantity(),
delivery_ratio=1,
variation_category_list =\
order_movement.getVariationCategoryList(),
deliverable=1,
**kw)
# No acquisition on variation_category_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