Open ZhangLianK opened 1 month ago
update_serial_batch_no() {
frappe.call({ method: "erpnext.stock.doctype.serial_and_batch_bundle.serial_and_batch_bundle.get_batch_no_from_serial_no", args: { serial_no: scan_serial_no, }, callback: (r) => { if (r.message) { this.dialog.fields_dict.entries.df.data.push({ serial_no: scan_serial_no, batch_no: r.message, });
this.dialog.fields_dict.scan_serial_no.set_value("");
}
},
});
@rohitwaghchaure could you please have a look on this issue? I think in the callback function should have a refresh.
Can't replicate in latest version. Can you make a video and attach it here?
Information about bug
when using scan in the "Serial No And Batch Selector", the scanned serial is added but the screen is not refreshed. when execute cur_dialog.refresh() in the js console, the scanned serial displayed.
Module
stock
Version
ERPNext 15
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
No response