Commit 3521f91f authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

BusinessManager: Update item_path_list in Business Mangager only when manager is already set

parent b0cf373a
......@@ -743,7 +743,8 @@ class BusinessItem(XMLObject):
# Update the Business Manager with the path list everytime after editing
# item_path
manager = self.getFollowUpValue()
# Check if the manager has already been set or not
if manager:
# Copy the path list for Business Manager and update it with new path
item_path_list = manager.getItemPathList()[:]
old_item_path = self._v_modified_property_dict.get('item_path')
......
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