Commit fd8b64c3 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: HACK for letting reserved_ids getting installed

parent 6b666be0
......@@ -328,7 +328,11 @@ class BusinessManager(Folder):
for obj in imported_manager.objectValues():
delattr(obj, '__ac_local_roles__')
new_id = self.generateNewId()
# XXX: Donot merge this, needed just for migrated erp5_core
try:
self._setObject(new_id, aq_base(obj))
except Exception:
pass
obj.isIndexable = ConstantGetter('isIndexable', value=False)
self.setProperty('template_path_list', imported_manager.getProperty('template_path_list'))
self.setProperty('layer', imported_manager.getProperty('layer'))
......
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