diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index 678e7094164..0112b395467 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -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):