Commit 12b4eb85 authored by Łukasz Nowak's avatar Łukasz Nowak

- reindex children of Supply, as Supply Line properties have to be propagated to predicate table

 - updated copyright date and authors


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25276 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4f73456a
##############################################################################
#
# 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@nexedi.com>
# Łukasz Nowak <luke@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 @@ class Supply(Path, XMLObject):
, 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)
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