Commit e97ac155 authored by Ayush Tiwari's avatar Ayush Tiwari

BusinessSnapshot: Add item which belongs to installable Business Template

parent 472afddf
......@@ -206,6 +206,8 @@ class BusinessSnapshot(Folder):
for commit in successor_commit_list:
for item in commit.objectValues():
# Check if the item has a follow_up only with installable Business Template
if item.getFollowUpValue().getAvailabilityState() == 'installable':
item_path = item.getProperty('item_path')
if item_path in new_item_path_list:
# Replace the old item with same path with new item
......
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