Commit 03748b79 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: No need to generate new Id while importing

parent 704afb37
...@@ -332,10 +332,9 @@ class BusinessManager(Folder): ...@@ -332,10 +332,9 @@ class BusinessManager(Folder):
self.title = imported_manager.title self.title = imported_manager.title
for obj in imported_manager.objectValues(): for obj in imported_manager.objectValues():
delattr(obj, '__ac_local_roles__') delattr(obj, '__ac_local_roles__')
new_id = self.generateNewId()
# XXX: Donot merge this, needed just for migrated erp5_core # XXX: Donot merge this, needed just for migrated erp5_core
try: try:
self._setObject(new_id, aq_base(obj)) self._setObject(obj.id, aq_base(obj))
except Exception: except Exception:
pass pass
obj.isIndexable = ConstantGetter('isIndexable', value=False) obj.isIndexable = ConstantGetter('isIndexable', value=False)
......
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