Merge pull request #32725 from ernestoruiz89/patch-10

fix: add translate function on remark text on  asset_value_adjustment.py
This commit is contained in:
Deepesh Garg 2022-10-28 20:47:00 +05:30 committed by GitHub
commit 92f2d9f99f
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 = {