chore: add translation function on remarks in make_journal_entry in asset.py

(cherry picked from commit 119904e44f)
This commit is contained in:
Ernesto Ruiz
2025-08-02 13:29:33 -06:00
committed by Mergify
parent b565d4f0a8
commit 4a5e0b181f

View File

@@ -1097,7 +1097,7 @@ def make_journal_entry(asset_name):
je.voucher_type = "Depreciation Entry"
je.naming_series = depreciation_series
je.company = asset.company
je.remark = f"Depreciation Entry against asset {asset_name}"
je.remark = _("Depreciation Entry against asset {0}").format(asset_name)
je.append(
"accounts",