Skip to content

Commit

Permalink
Merge pull request #40797 from deepeshgarg007/po_filter
Browse files Browse the repository at this point in the history
fix: Party type in Payment Order
  • Loading branch information
deepeshgarg007 authored Apr 1, 2024
2 parents 6416a6a + 91fa41c commit edf51c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erpnext/accounts/doctype/payment_order/payment_order.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ frappe.ui.form.on("Payment Order", {
target: frm,
date_field: "posting_date",
setters: {
party_type: "Supplier",
party: frm.doc.supplier || "",
},
get_query_filters: {
Expand All @@ -91,6 +92,7 @@ frappe.ui.form.on("Payment Order", {
source_doctype: "Payment Request",
target: frm,
setters: {
party_type: "Supplier",
party: frm.doc.supplier || "",
},
get_query_filters: {
Expand Down

0 comments on commit edf51c9

Please sign in to comment.