Commit 4c98e4bf authored by Aurel's avatar Aurel

add removed step


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37717 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 770b8fc4
...@@ -567,6 +567,7 @@ class TestPackingListMixin(TestOrderMixin): ...@@ -567,6 +567,7 @@ class TestPackingListMixin(TestOrderMixin):
simulation_movement.getDeliveryValue().edit(quantity=self.default_quantity-1) simulation_movement.getDeliveryValue().edit(quantity=self.default_quantity-1)
simulation_movement.expand() simulation_movement.expand()
def stepModifySimulationLineStopDate(self,sequence=None, sequence_list=None, **kw): def stepModifySimulationLineStopDate(self,sequence=None, sequence_list=None, **kw):
""" """
Modify simulation line stop date Modify simulation line stop date
...@@ -579,6 +580,18 @@ class TestPackingListMixin(TestOrderMixin): ...@@ -579,6 +580,18 @@ class TestPackingListMixin(TestOrderMixin):
simulation_movement.edit(stop_date=self.datetime+15) simulation_movement.edit(stop_date=self.datetime+15)
simulation_movement.expand() simulation_movement.expand()
def stepModifySimulationLineStartDate(self,sequence=None, sequence_list=None, **kw):
"""
Modify simulation line start date
"""
applied_rule = sequence.get('applied_rule')
simulation_movement_list = applied_rule.objectValues()
resource_list = sequence.get('resource_list')
for simulation_movement in simulation_movement_list:
simulation_movement.recordProperty('start_date')
simulation_movement.edit(stop_date=self.datetime+15)
simulation_movement.expand()
def stepModifyOneSimulationLineStartDate(self,sequence=None, sequence_list=None, **kw): def stepModifyOneSimulationLineStartDate(self,sequence=None, sequence_list=None, **kw):
""" """
Check if simulation movement are disconnected Check if simulation movement are disconnected
......
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