diff --git a/product/ERP5Type/XMLMatrix.py b/product/ERP5Type/XMLMatrix.py index fe54460aaf9f607f58f8c303139eb25900eb7fef..e82dda9769eed7e1ccf389940c60e8c84fd3bc8b 100755 --- a/product/ERP5Type/XMLMatrix.py +++ b/product/ERP5Type/XMLMatrix.py @@ -423,7 +423,7 @@ class XMLMatrix(Folder): new_id = old_id + appended_id cell.isIndexable = 0 cell.id = new_id - self._setObject(new_id, cell) + self._setObject(new_id, aq_base(cell)) self._delObject(old_id) cell.isIndexable = 1 cell.reindexObject() @@ -437,7 +437,7 @@ class XMLMatrix(Folder): new_id = old_id[:-removed_id_len] cell.isIndexable = 0 cell.id = new_id - self._setObject(new_id, cell) + self._setObject(new_id, aq_base(cell)) self._delObject(old_id) cell.isIndexable = 1 cell.reindexObject()