Fix parenthesis in buying controller (#12923)
This commit is contained in:
parent
387a242232
commit
8b531c1ee6
@ -254,10 +254,10 @@ erpnext.buying.BuyingController = erpnext.TransactionController.extend({
|
||||
cur_frm.doc.items[i].qty = my_qty;
|
||||
|
||||
frappe.msgprint(__("Assigning {0} to {1} (row {2})",
|
||||
[d.mr_name, d.item_code, cur_frm.doc.items[i].idx]);
|
||||
[d.mr_name, d.item_code, cur_frm.doc.items[i].idx]));
|
||||
|
||||
if (qty > 0) {
|
||||
frappe.msgprint(__("Splitting {0} units of {1}", [qty, d.item_code]);
|
||||
frappe.msgprint(__("Splitting {0} units of {1}", [qty, d.item_code]));
|
||||
var newrow = frappe.model.add_child(cur_frm.doc, cur_frm.doc.items[i].doctype, "items");
|
||||
item_length++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user