From ad9767f883d2e8ce2c38c714af07f70aad625ef2 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Thu, 26 May 2005 10:54:30 +0000 Subject: [PATCH] fixed a bug, when there is no index in the matrix, then XMLMatrix can take the index of the parent and change it git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3090 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/XMLMatrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/XMLMatrix.py b/product/ERP5Type/XMLMatrix.py index 8984088ee3..60ee7831d4 100755 --- a/product/ERP5Type/XMLMatrix.py +++ b/product/ERP5Type/XMLMatrix.py @@ -167,7 +167,7 @@ class XMLMatrix(Folder): new_index = PersistentMapping() # new_index defines the relation between keys # and ids of cells - if not hasattr(self, 'index'): + if not hasattr(aq_base(self), 'index'): self.index = PersistentMapping() # Return if previous range is the same -- 2.30.9