Commit 0d067945 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Do not install OOBTree for an object while BM installation

parent bd9266ae
......@@ -1896,6 +1896,11 @@ class TemplateTool (BaseTool):
else:
# If there is no item at old state, install the new_item
new_item = installation_process.getBusinessItemByPath(path)
# XXX: Hack for not trying to install the sub-objects from zexp,
# This should rather be implemneted while exportign the object,
# where we shouldn't export sub-objects in the zexp
if new_item._value._tree:
del new_item._value._tree
new_item.install(installation_process)
return error_list
......
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