Commit e844f335 authored by Kevin Deldycke's avatar Kevin Deldycke

Add a comment about the implication of deleting the XMLMatrix.newCellContent() method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3182 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57c22024
......@@ -68,17 +68,24 @@ class TempDeliveryCell(DeliveryCell):
def activate(self):
return self
# XXX FIXME: to be deleted
class XMLMatrix(TempXMLMatrix):
def newCellContent(self, id,**kw):
"""
This method can be overriden
If you delete this method, please check the code of the method
ERP5/Document/InventoryLine.newCellContent() and delete it.
If nothing has changed from the date I wrote this comment, the
behaviour of InventoryLine will be the same without
InventoryLine.newCellContent(), because Inventory line is a subclass
of Delivery which is a subclass of XMLMatrix (Kev).
"""
new_temp_object = TempDeliveryCell(id)
self._setObject(id, new_temp_object)
return self.get(id)
# XXX FIXME: to be deleted
class Group(Implicit):
"""
......@@ -212,6 +219,7 @@ class Group(Implicit):
InitializeClass(Group)
#allow_class(Group)
class Delivery(XMLObject):
"""
Each time delivery is modified, it MUST launch a reindexing of
......
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