Merge pull request #50236 from Abdeali099/fix-msg

fix: add message for missing purchase orders in production plan
This commit is contained in:
Mihir Kandoi
2025-10-27 15:54:09 +05:30
committed by GitHub

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()