Commit a94b35e4 authored by Julien Muchembled's avatar Julien Muchembled

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
parent cf817b7d
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment