fix(ux): SRE filters in DN Items
This commit is contained in:
parent
b95a49e4c2
commit
22a9c8ad55
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user