From 21a692d0bdf18d69f84b06a46864121d50a4aa81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Mon, 7 Feb 2011 12:05:41 +0000 Subject: [PATCH] clean dict after display of warning otherwise installation will fail later in transaction git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43127 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index cdb5fa0c4d..a8d1452564 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 = \ -- 2.30.9