From e22ca23b81984d85f73ce1044a63f95ab14e50d0 Mon Sep 17 00:00:00 2001 From: Khushal Trivedi Date: Mon, 21 Oct 2019 18:17:42 +0530 Subject: [PATCH] fix: fix: date validation, setting up default conpany, customer/supplier manadatory property on Blanket Order --- erpnext/manufacturing/doctype/blanket_order/blanket_order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/blanket_order/blanket_order.js b/erpnext/manufacturing/doctype/blanket_order/blanket_order.js index 20336a1dfa..1cd9446c8b 100644 --- a/erpnext/manufacturing/doctype/blanket_order/blanket_order.js +++ b/erpnext/manufacturing/doctype/blanket_order/blanket_order.js @@ -61,7 +61,7 @@ frappe.ui.form.on('Blanket Order', { }); } if (frm.doc.blanket_order_type === 'Purchasing') { - frm.set_df_property("supplier","reqd", 1); + frm.set_df_property("supplier","reqd", 1); frm.set_df_property("customer","reqd", 0); frm.set_value("customer", "");