From a94b35e4478500e73fc5b830cfeb047973893093 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Thu, 8 Apr 2010 15:43:28 +0000 Subject: [PATCH] Do not copy 'uid' property while migrating portal types git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34404 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Tool/TypesTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Tool/TypesTool.py b/product/ERP5Type/Tool/TypesTool.py index c0b6b3cf5e..48bf5d6bce 100644 --- a/product/ERP5Type/Tool/TypesTool.py +++ b/product/ERP5Type/Tool/TypesTool.py @@ -190,7 +190,7 @@ class OldTypesTool(OFSFolder): elif k == '_roles': for role in v: new_type._importRole(role.__getstate__()) - else: + elif k != 'uid': if k == '_property_domain_dict': v = dict((k, t.__class__(property_name=t.property_name, domain_name=t.domain_name)) -- 2.30.9