From 1368ba00bced801cfa18274a6fdcbd3f89faf52d Mon Sep 17 00:00:00 2001 From: Pawan Mehta Date: Fri, 10 Nov 2017 14:59:26 +0530 Subject: [PATCH] [fix] #11337 (#11339) --- erpnext/selling/doctype/sales_order/sales_order.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/erpnext/selling/doctype/sales_order/sales_order.js b/erpnext/selling/doctype/sales_order/sales_order.js index 6f70ebe07e..cfd40df453 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.js +++ b/erpnext/selling/doctype/sales_order/sales_order.js @@ -40,6 +40,10 @@ frappe.ui.form.on("Sales Order", { if(!d.delivery_date) d.delivery_date = frm.doc.delivery_date; }); refresh_field("items"); + }, + + onload_post_render: function(frm) { + frm.get_field("items").grid.set_multiple_add("item_code", "qty"); } });