[Erp5-report] r36472 kazuhiko - /erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 21 11:21:16 CEST 2010
Author: kazuhiko
Date: Mon Jun 21 11:21:07 2010
New Revision: 36472
URL: http://svn.erp5.org?rev=36472&view=rev
Log:
getDeliveryValue() is deprecated, we should use getRootDeliveryValue() instead.
Modified:
erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py
Modified: erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py?rev=36472&r1=36471&r2=36472&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Interactor/InventoryInteractor.py [utf8] Mon Jun 21 11:21:07 2010
@@ -43,7 +43,7 @@ class InventoryInteractor(Interactor):
"""
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
# reindexObject() that is defined in Delivery.py as recursiveReindexObject().
inventory._reindexObject(**method_call_object.kw)
More information about the Erp5-report
mailing list