diff --git a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js index 4057f7e475..93e6bffea1 100644 --- a/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js +++ b/erpnext/accounts/doctype/payment_to_invoice_matching_tool/payment_to_invoice_matching_tool.js @@ -26,7 +26,7 @@ cur_frm.fields_dict.voucher_no.get_query = function(doc) { and voucher_type = '%(dt)s' \ and voucher_no LIKE '%s' \ ORDER BY posting_date DESC, voucher_no DESC LIMIT 50 \ - ", {dt:session.rev_dt_labels[doc.voucher_type] || doc.voucher_type, acc:doc.account}); + ", {dt:doc.voucher_type, acc:doc.account}); } }