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

define getRootDeliveryValue().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37069 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6fb98385
......@@ -86,6 +86,12 @@ class DummyMovement(Movement):
raise ValueError
def getDeliveryValue(self):
"""
Deprecated, we should use getRootDeliveryValue instead
"""
return self.getRootDeliveryValue()
def getRootDeliveryValue(self):
"""In the tests, dummy movements are not always stored in a delivery, here
we try to support both cases.
"""
......
14
\ No newline at end of file
15
\ No newline at end of file
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