mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 13:08:27 +00:00
add transaction date call to get_exchange_rate (#10109)
This commit is contained in:
@@ -339,7 +339,8 @@ frappe.ui.form.on('Payment Entry', {
|
||||
method: "erpnext.setup.utils.get_exchange_rate",
|
||||
args: {
|
||||
from_currency: frm.doc.paid_from_account_currency,
|
||||
to_currency: company_currency
|
||||
to_currency: company_currency,
|
||||
transaction_date: frm.doc.posting_date
|
||||
},
|
||||
callback: function(r, rt) {
|
||||
frm.set_value("source_exchange_rate", r.message);
|
||||
|
||||
Reference in New Issue
Block a user