mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #49735 from aerele/payment-entry-exchange-rate-internal-transfer
fix(payment entry): trigger currency on account set
This commit is contained in:
@@ -585,6 +585,7 @@ frappe.ui.form.on("Payment Entry", {
|
|||||||
if (frm.doc.payment_type == "Pay") {
|
if (frm.doc.payment_type == "Pay") {
|
||||||
frm.events.paid_amount(frm);
|
frm.events.paid_amount(frm);
|
||||||
}
|
}
|
||||||
|
frm.events.paid_from_account_currency(frm);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
@@ -607,6 +608,7 @@ frappe.ui.form.on("Payment Entry", {
|
|||||||
frm.events.received_amount(frm);
|
frm.events.received_amount(frm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
frm.events.paid_to_account_currency(frm);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user