mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
chore: add translation function on remarks in make_journal_entry in asset.py
This commit is contained in:
@@ -1106,7 +1106,7 @@ def make_journal_entry(asset_name):
|
|||||||
je.voucher_type = "Depreciation Entry"
|
je.voucher_type = "Depreciation Entry"
|
||||||
je.naming_series = depreciation_series
|
je.naming_series = depreciation_series
|
||||||
je.company = asset.company
|
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(
|
je.append(
|
||||||
"accounts",
|
"accounts",
|
||||||
|
|||||||
Reference in New Issue
Block a user