[Erp5-report] r11923 - /erp5/trunk/products/ERP5Banking/Document/CashInventory.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 8 14:16:34 CET 2007
Author: seb
Date: Mon Jan 8 14:16:33 2007
New Revision: 11923
URL: http://svn.erp5.org?rev=11923&view=rev
Log:
particular alternateReindexObject method because we want to use TempCashDeliveryLine objects instead of CashDeliveryLine ones
Modified:
erp5/trunk/products/ERP5Banking/Document/CashInventory.py
Modified: erp5/trunk/products/ERP5Banking/Document/CashInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/CashInventory.py?rev=11923&r1=11922&r2=11923&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashInventory.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashInventory.py Mon Jan 8 14:16:33 2007
@@ -60,3 +60,12 @@
, 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)
+
More information about the Erp5-report
mailing list