From c4512d552e3262276df907148fafa57319bdebb1 Mon Sep 17 00:00:00 2001 From: Ernesto Ruiz Date: Tue, 25 Apr 2023 09:26:53 -0600 Subject: [PATCH] chore: Add translate function to Depreciation Journal Entry Remark (#35022) chore: Add translate function to Depreciation Journal Entry Remark --- erpnext/assets/doctype/asset/asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/assets/doctype/asset/asset.py b/erpnext/assets/doctype/asset/asset.py index 6001254762..42f531189a 100644 --- a/erpnext/assets/doctype/asset/asset.py +++ b/erpnext/assets/doctype/asset/asset.py @@ -783,7 +783,7 @@ def make_journal_entry(asset_name): je.voucher_type = "Depreciation Entry" je.naming_series = depreciation_series je.company = asset.company - je.remark = "Depreciation Entry against asset {0}".format(asset_name) + je.remark = _("Depreciation Entry against asset {0}").format(asset_name) je.append( "accounts",