fix: project has not set in the sub assembly work order from production plan (#19284)
diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py
index 678e709..0112b39 100644
--- a/erpnext/manufacturing/doctype/work_order/work_order.py
+++ b/erpnext/manufacturing/doctype/work_order/work_order.py
@@ -477,6 +477,9 @@
'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):