fix: filter for payment order (#19070)

This commit is contained in:
Mangesh-Khairnar 2019-09-16 19:40:27 +05:30 committed by Nabin Hait
parent 7e8e4783a1
commit dce04b7335

View File

@ -66,10 +66,10 @@ frappe.ui.form.on('Payment Order', {
get_query_filters: {
bank: frm.doc.bank,
docstatus: 1,
payment_type: ("!=", "Receive"),
payment_type: ["!=", "Receive"],
bank_account: frm.doc.company_bank_account,
paid_from: frm.doc.account,
payment_order_status: ["=", "Initiated"],
payment_order_status: ["=", "Initiated"]
}
});
},