fix: review changes
This commit is contained in:
parent
aeb88385bb
commit
aa516e5d17
@ -116,7 +116,7 @@ frappe.ui.form.on("Timesheet", {
|
|||||||
|
|
||||||
currency: function(frm) {
|
currency: function(frm) {
|
||||||
let base_currency = frappe.defaults.get_global_default('currency');
|
let base_currency = frappe.defaults.get_global_default('currency');
|
||||||
if (base_currency != frm.doc.company) {
|
if (base_currency != frm.doc.currency) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.setup.utils.get_exchange_rate",
|
method: "erpnext.setup.utils.get_exchange_rate",
|
||||||
args: {
|
args: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user