mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
fix: add message for missing purchase orders in production plan
This commit is contained in:
@@ -724,6 +724,9 @@ class ProductionPlan(Document):
|
|||||||
if not wo_list:
|
if not wo_list:
|
||||||
frappe.msgprint(_("No Work Orders were created"))
|
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):
|
def make_work_order_for_finished_goods(self, wo_list, default_warehouses):
|
||||||
items_data = self.get_production_items()
|
items_data = self.get_production_items()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user