Skip to content

Commit

Permalink
fix: add party and party type in PE (backport #1894) (#1898)
Browse files Browse the repository at this point in the history
(cherry picked from commit ce60f42)

Co-authored-by: Nihantra C. Patel <141945075+Nihantra-Patel@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Nihantra-Patel committed Jun 14, 2024
1 parent ca1c74c commit aee96d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hrms/public/js/erpnext/payment_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ frappe.ui.form.on("Payment Entry Reference", {
frm.doc.payment_type == "Receive"
? frm.doc.paid_from_account_currency
: frm.doc.paid_to_account_currency,
party_type: frm.doc.party_type,
party: frm.doc.party,
},
callback: function (r, rt) {
if (r.message) {
Expand Down

0 comments on commit aee96d1

Please sign in to comment.