mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-15 04:45:09 +00:00
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com> fix(stock): fix the property setter (#53422)
This commit is contained in:
@@ -42,9 +42,9 @@ erpnext.landed_cost_taxes_and_charges = {
|
|||||||
|
|
||||||
if (row.account_currency == company_currency) {
|
if (row.account_currency == company_currency) {
|
||||||
row.exchange_rate = 1;
|
row.exchange_rate = 1;
|
||||||
frm.set_df_property("taxes", "hidden", 1, row.name, "exchange_rate");
|
frm.set_df_property("taxes", "hidden", 1, frm.docname, "exchange_rate", cdn);
|
||||||
} else if (!row.exchange_rate || row.exchange_rate == 1) {
|
} else if (!row.exchange_rate || row.exchange_rate == 1) {
|
||||||
frm.set_df_property("taxes", "hidden", 0, row.name, "exchange_rate");
|
frm.set_df_property("taxes", "hidden", 0, frm.docname, "exchange_rate", cdn);
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate",
|
method: "erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate",
|
||||||
args: {
|
args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user