fix(ux): SRE filters in DN Items

This commit is contained in:
s-aga-r 2023-03-27 11:07:24 +05:30
parent b95a49e4c2
commit 22a9c8ad55

View File

@ -81,9 +81,11 @@ frappe.ui.form.on("Delivery Note", {
var row = locals[cdt][cdn];
return {
filters: {
"docstatus": 1,
"status": ["not in", ["Delivered", "Cancelled"]],
"voucher_type": "Sales Order",
"voucher_no": row.against_sales_order,
"voucher_detail_no": row.so_detail
"voucher_detail_no": row.so_detail,
}
}
});