added qty updating option multi-item selector
diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js
index a1d9f38..27ee152 100644
--- a/erpnext/public/js/transaction.js
+++ b/erpnext/public/js/transaction.js
@@ -42,7 +42,7 @@
this.calculate_taxes_and_totals();
}
if(frappe.meta.get_docfield(this.tname, "item_code")) {
- cur_frm.get_field(this.fname).grid.set_multiple_add("item_code");
+ cur_frm.get_field(this.fname).grid.set_multiple_add("item_code", "qty");
}
},
diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js
index 1cc643e..63ffb36 100644
--- a/erpnext/selling/sales_common.js
+++ b/erpnext/selling/sales_common.js
@@ -22,7 +22,7 @@
},
onload_post_render: function() {
- cur_frm.get_field(this.fname).grid.set_multiple_add("item_code");
+ cur_frm.get_field(this.fname).grid.set_multiple_add("item_code", "qty");
},
setup_queries: function() {
diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js
index 553b25c..a42a865 100644
--- a/erpnext/stock/doctype/stock_entry/stock_entry.js
+++ b/erpnext/stock/doctype/stock_entry/stock_entry.js
@@ -56,7 +56,7 @@
},
onload_post_render: function() {
- cur_frm.get_field(this.fname).grid.set_multiple_add("item_code");
+ cur_frm.get_field(this.fname).grid.set_multiple_add("item_code", "qty");
this.set_default_account();
},