mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 20:48:27 +00:00
fix(stock): show available qty in warehouse link field (#54474)
(cherry picked from commit ab19b16fe2)
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com>
This commit is contained in:
@@ -106,10 +106,12 @@ erpnext.SerialBatchPackageSelector = class SerialNoBatchBundleUpdate {
|
|||||||
},
|
},
|
||||||
get_query: () => {
|
get_query: () => {
|
||||||
return {
|
return {
|
||||||
filters: {
|
query: "erpnext.controllers.queries.warehouse_query",
|
||||||
is_group: 0,
|
filters: [
|
||||||
company: this.frm.doc.company,
|
["Bin", "item_code", "=", this.item.item_code],
|
||||||
},
|
["Warehouse", "is_group", "=", 0],
|
||||||
|
["Warehouse", "company", "=", this.frm.doc.company],
|
||||||
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user