fix: project has not set in the sub assembly work order from production plan (#19284)

This commit is contained in:
rohitwaghchaure 2019-10-12 16:48:57 +05:30 committed by Nabin Hait
parent 8e937e9640
commit a0c162c2d6

View File

@ -477,6 +477,9 @@ class WorkOrder(Document):
'include_item_in_manufacturing': item.include_item_in_manufacturing
})
if not self.project:
self.project = item.get("project")
self.set_available_qty()
def update_transaferred_qty_for_required_items(self):