mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 02:04:50 +00:00
fix: item mapping from modal to batch form (#44090)
(cherry picked from commit 9223ef2f37)
This commit is contained in:
@@ -437,6 +437,11 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
|
|||||||
fieldname: "batch_no",
|
fieldname: "batch_no",
|
||||||
label: __("Batch No"),
|
label: __("Batch No"),
|
||||||
in_list_view: 1,
|
in_list_view: 1,
|
||||||
|
get_route_options_for_new_doc: () => {
|
||||||
|
return {
|
||||||
|
item: this.item.item_code,
|
||||||
|
};
|
||||||
|
},
|
||||||
change() {
|
change() {
|
||||||
let doc = this.doc;
|
let doc = this.doc;
|
||||||
if (!doc.qty && me.item.type_of_transaction === "Outward") {
|
if (!doc.qty && me.item.type_of_transaction === "Outward") {
|
||||||
|
|||||||
Reference in New Issue
Block a user