Merge pull request #51164 from frappe/mergify/bp/version-15-hotfix/pr-51156

fix: show company currency in asset depreciation schedule (backport #51156)
This commit is contained in:
Khushi Rawat
2025-12-17 15:51:27 +05:30
committed by GitHub

View File

@@ -274,8 +274,14 @@ frappe.ui.form.on("Asset", {
const row = [
sch["idx"],
frappe.format(sch["schedule_date"], { fieldtype: "Date" }),
frappe.format(sch["depreciation_amount"], { fieldtype: "Currency" }),
frappe.format(sch["accumulated_depreciation_amount"], { fieldtype: "Currency" }),
frappe.format(sch["depreciation_amount"], {
fieldtype: "Currency",
options: "Company:company:default_currency",
}),
frappe.format(sch["accumulated_depreciation_amount"], {
fieldtype: "Currency",
options: "Company:company:default_currency",
}),
sch["journal_entry"] || "",
];