added qty updating option multi-item selector
This commit is contained in:
parent
2ec93590e4
commit
880b3ef6c0
@ -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");
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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();
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user