diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index dd161903a44dc576330c0f1ab2f1ec09feb93688..e28c3b64315a707f7d54372ae8bdc70a9e408a5d 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -1403,7 +1403,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin): We consider that a Site is migrated if its Types Tool is migrated (it will always be migrated last)""" - if self.portal_types.__class__.__module__ == 'erp5.portal_types': + if self.portal_types.__class__.__module__ == 'erp5.portal_type': # nothing to do return True