Commit 875927ec authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

getDeliveryValue() is deprecated, we should use getRootDeliveryValue() instead.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02f0c32f
...@@ -43,7 +43,7 @@ class InventoryInteractor(Interactor): ...@@ -43,7 +43,7 @@ class InventoryInteractor(Interactor):
""" """
Reset _aq_dynamic Reset _aq_dynamic
""" """
inventory = method_call_object.instance.getDeliveryValue() inventory = method_call_object.instance.getRootDeliveryValue()
# No need to reindex recursively, so we call _reindexObject() not # No need to reindex recursively, so we call _reindexObject() not
# reindexObject() that is defined in Delivery.py as recursiveReindexObject(). # reindexObject() that is defined in Delivery.py as recursiveReindexObject().
inventory._reindexObject(**method_call_object.kw) inventory._reindexObject(**method_call_object.kw)
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