Commit 52d6ea08 authored by Jérome Perrin's avatar Jérome Perrin

On a Simulation Movement, there can only be 0 or 1 delivery related

movement; updated Docstrings.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7107 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 80752437
......@@ -391,7 +391,7 @@ class SimulationMovement(Movement):
'getDeliveryStartDateList')
def getDeliveryStartDateList(self):
"""
Returns the stop date of related delivery(s)
Returns the stop date of related delivery
"""
start_date_list = []
delivery_movement = self.getDeliveryValue()
......@@ -403,7 +403,7 @@ class SimulationMovement(Movement):
'getDeliveryStopDateList')
def getDeliveryStopDateList(self):
"""
Returns the stop date of related delivery(s)
Returns the stop date of related delivery
"""
stop_date_list = []
delivery_movement = self.getDeliveryValue()
......@@ -415,7 +415,7 @@ class SimulationMovement(Movement):
'getDeliveryQuantity')
def getDeliveryQuantity(self):
"""
Returns the quantity of related delivery(s)
Returns the quantity of related delivery
"""
quantity = 0.0
delivery_movement = self.getDeliveryValue()
......
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