[Erp5-report] r25276 - /erp5/trunk/products/ERP5/Document/Supply.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 22 16:57:48 CET 2009


Author: luke
Date: Thu Jan 22 16:57:44 2009
New Revision: 25276

URL: http://svn.erp5.org?rev=25276&view=rev
Log:
 - reindex children of Supply, as Supply Line properties have to be propagated to predicate table
 - updated copyright date and authors

Modified:
    erp5/trunk/products/ERP5/Document/Supply.py

Modified: erp5/trunk/products/ERP5/Document/Supply.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Supply.py?rev=25276&r1=25275&r2=25276&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Supply.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Supply.py [utf8] Thu Jan 22 16:57:44 2009
@@ -1,7 +1,8 @@
 ##############################################################################
 #
-# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+# Copyright (c) 2002-2009 Nexedi SARL and Contributors. All Rights Reserved.
 #                    Jean-Paul Smets-Solanes <jp at nexedi.com>
+#                    Łukasz Nowak <luke at nexedi.com>
 #
 # WARNING: This program as such is intended to be used by professional
 # programmers who take the whole responsability of assessing all potential
@@ -61,4 +62,11 @@
                       , PropertySheet.FlowCapacity
                       )
 
-
+    #######################################################
+    # Defer indexing process
+    def reindexObject(self, *k, **kw):
+      """
+        Reindex children, as editing properties on Supply need
+        to be propagated into predicate table for Supply Line
+      """
+      self.recursiveReindexObject(*k, **kw)




More information about the Erp5-report mailing list