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

This commit is contained in:
Ernesto Ruiz
2025-08-02 13:29:33 -06:00
committed by GitHub
parent 2c44e4ec2c
commit 119904e44f

View File

@@ -1106,7 +1106,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",