added qty updating option multi-item selector

This commit is contained in:
Rushabh Mehta 2014-06-06 11:45:11 +05:30
parent 2ec93590e4
commit 880b3ef6c0
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
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");
}
},

View File

@ -22,7 +22,7 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
},
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() {

View File

@ -56,7 +56,7 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({
},
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();
},