fix: add message for missing purchase orders in production plan

This commit is contained in:
Abdeali Chharchhoda
2025-10-27 15:09:22 +05:30
parent 4eca7f0524
commit 5798409f69

View File

@@ -724,6 +724,9 @@ class ProductionPlan(Document):
if not wo_list:
frappe.msgprint(_("No Work Orders were created"))
if not po_list:
frappe.msgprint(_("No Purchase Orders were created"))
def make_work_order_for_finished_goods(self, wo_list, default_warehouses):
items_data = self.get_production_items()