mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-28 19:25:42 +00:00
fix: use correct filter to get the composite assets
(cherry picked from commit f5a3227349)
This commit is contained in:
@@ -19,7 +19,7 @@ frappe.ui.form.on("Purchase Receipt", {
|
||||
|
||||
frm.set_query("wip_composite_asset", "items", function () {
|
||||
return {
|
||||
filters: { is_composite_asset: 1, docstatus: 0 },
|
||||
filters: { asset_type: "Composite Asset", docstatus: 0 },
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user