chore: Add translate function to Depreciation Journal Entry Remark (#35022)

chore: Add translate function to Depreciation Journal Entry Remark
This commit is contained in:
Ernesto Ruiz 2023-04-25 09:26:53 -06:00 committed by GitHub
parent f88431a79a
commit c4512d552e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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