Commit 4c7a088d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

no longer set deliverable on simulation movements.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32050 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62befd50
...@@ -112,7 +112,6 @@ class OrderRule(DeliveryRule): ...@@ -112,7 +112,6 @@ class OrderRule(DeliveryRule):
order_value=movement, order_value=movement,
order_ratio=1, order_ratio=1,
delivery_ratio=1, delivery_ratio=1,
deliverable=1,
**property_dict ) **property_dict )
elif related_order in existing_movement_list: elif related_order in existing_movement_list:
......
...@@ -109,7 +109,6 @@ class SplitAndDefer(CopyToTarget): ...@@ -109,7 +109,6 @@ class SplitAndDefer(CopyToTarget):
start_date=self.start_date, start_date=self.start_date,
stop_date=self.stop_date, stop_date=self.stop_date,
order=simulation_movement.getOrder(), order=simulation_movement.getOrder(),
deliverable=simulation_movement.isDeliverable(),
resource=simulation_movement.getResource(), resource=simulation_movement.getResource(),
quantity=movement_quantity - new_movement_quantity, quantity=movement_quantity - new_movement_quantity,
......
...@@ -58,7 +58,6 @@ class SplitQuantity(CopyToTarget): ...@@ -58,7 +58,6 @@ class SplitQuantity(CopyToTarget):
stop_date = self.stop_date, stop_date = self.stop_date,
# XXX resource # XXX resource
order = simulation_movement.getOrder(), order = simulation_movement.getOrder(),
deliverable = simulation_movement.isDeliverable(),
quantity = self.quantity, quantity = self.quantity,
source = simulation_movement.getSource(), source = simulation_movement.getSource(),
destination = simulation_movement.getDestination(), destination = simulation_movement.getDestination(),
......
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