fix: add translate function on remark text on make_depreciation_entry in asset_value_adjustment.py

This commit is contained in:
Ernesto Ruiz 2022-10-26 13:56:35 -06:00 committed by GitHub
parent 183662c0e2
commit 8f0e63cd27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,9 @@ class AssetValueAdjustment(Document):
je.naming_series = depreciation_series
je.posting_date = self.date
je.company = self.company
je.remark = "Depreciation Entry against {0} worth {1}".format(self.asset, self.difference_amount)
je.remark = _("Depreciation Entry against {0} worth {1}").format(
self.asset, self.difference_amount
)
je.finance_book = self.finance_book
credit_entry = {