Merge pull request #34176 from ruthra-kumar/fix_ui_freeze_on_sales_invoice

fix: ui freeze on item selection in sales invoice
This commit is contained in:
ruthra kumar 2023-02-23 10:35:50 +05:30 committed by GitHub
commit 60d3b86cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
});