Commit 9a6e43fc authored by Sebastien Robin's avatar Sebastien Robin

particular alternateReindexObject method because we want to use...

particular alternateReindexObject method because we want to use TempCashDeliveryLine objects instead of CashDeliveryLine ones

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11923 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 377c1836
......@@ -60,3 +60,12 @@ class CashInventory(Inventory, BankingOperation):
, PropertySheet.FlowCapacity
)
security.declarePublic('alternateReindexObject')
def alternateReindexObject(self, **kw):
"""This method is called when an inventory object is included in a
group of catalogged objects.
"""
from Products.ERP5Type.Document import newTempCashDeliveryLine
temp_constructor = newTempCashDeliveryLine
return self.immediateReindexObject(temp_constructor=temp_constructor,**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