Skip to content

Commit

Permalink
fix: ui freeze on item selection in sales invoice
Browse files Browse the repository at this point in the history
(cherry picked from commit 6412583)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Feb 23, 2023
1 parent 9c43e3a commit 1750ed4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions erpnext/selling/sales_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,6 @@ erpnext.selling.SellingController = class SellingController extends erpnext.Tran
callback: function(r) {
if(r.message) {
frappe.model.set_value(doc.doctype, doc.name, 'batch_no', r.message);
} else {
frappe.model.set_value(doc.doctype, doc.name, 'batch_no', r.message);
}
}
});
Expand Down

0 comments on commit 1750ed4

Please sign in to comment.