Skip to content

Commit

Permalink
fix: typeerror on Payment Entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Aug 28, 2024
1 parent 94629e0 commit e9cf893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/doctype/payment_entry/payment_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ frappe.ui.form.on("Payment Entry", {

set_dynamic_labels: function (frm) {
var company_currency = frm.doc.company
? frappe.get_doc(":Company", frm.doc.company).default_currency
? frappe.get_doc(":Company", frm.doc.company)?.default_currency
: "";

frm.set_currency_labels(
Expand Down

0 comments on commit e9cf893

Please sign in to comment.