diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index ac5735b70727..80d7b79c1ecb 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -702,7 +702,13 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe } on_submit() { - refresh_field("items"); + this.refresh_serial_batch_bundle_field(); + } + + refresh_serial_batch_bundle_field() { + frappe.route_hooks.after_submit = (frm_obj) => { + frm_obj.reload_doc(); + } } update_qty(cdt, cdn) {