fix: restrict the payment order to non received type payment entries

This commit is contained in:
Mangesh-Khairnar 2019-08-14 17:38:44 +05:30
parent 78690d7b8b
commit c97a7fb845

View File

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