mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix(ux): SRE filters in DN Items
This commit is contained in:
@@ -81,9 +81,11 @@ frappe.ui.form.on("Delivery Note", {
|
|||||||
var row = locals[cdt][cdn];
|
var row = locals[cdt][cdn];
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
|
"docstatus": 1,
|
||||||
|
"status": ["not in", ["Delivered", "Cancelled"]],
|
||||||
"voucher_type": "Sales Order",
|
"voucher_type": "Sales Order",
|
||||||
"voucher_no": row.against_sales_order,
|
"voucher_no": row.against_sales_order,
|
||||||
"voucher_detail_no": row.so_detail
|
"voucher_detail_no": row.so_detail,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user