fix: auto refresh serial and batch bundle field (#36943)
This commit is contained in:
parent
04bc353e7f
commit
6a7bdeffdf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user