fix: restrict the payment order to non received type payment entries
This commit is contained in:
parent
78690d7b8b
commit
c97a7fb845
@ -66,6 +66,7 @@ frappe.ui.form.on('Payment Order', {
|
|||||||
get_query_filters: {
|
get_query_filters: {
|
||||||
bank: frm.doc.bank,
|
bank: frm.doc.bank,
|
||||||
docstatus: 1,
|
docstatus: 1,
|
||||||
|
payment_type: ("!=", "Receive"),
|
||||||
bank_account: frm.doc.company_bank_account,
|
bank_account: frm.doc.company_bank_account,
|
||||||
paid_from: frm.doc.account,
|
paid_from: frm.doc.account,
|
||||||
payment_order_status: ["=", "Initiated"],
|
payment_order_status: ["=", "Initiated"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user