diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index cdb5fa0c4d9bb0687cffe76a17d85bb9dd67b184..a8d1452564c17a444c7c754960111a1542f096ac 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -3657,6 +3657,9 @@ class PropertySheetTemplateItem(DocumentTemplateItem, 'already exists in portal_property_sheets and '\ 'cannot be updated automatically for now. ' % class_id, UserWarning) + del migrate_object_dict[class_id] + if class_id in object_dict: + del object_dict[class_id] continue filesystem_property_sheet_path = \