Merge pull request #24100 from hasnain2808/add-fb-to-je

fix(asset_val_adj): finance book not getting added in journal Entry of asset value adjustment
This commit is contained in:
Anurag Mishra
2020-12-14 12:36:03 +05:30
committed by GitHub

View File

@@ -53,6 +53,7 @@ class AssetValueAdjustment(Document):
je.posting_date = self.date je.posting_date = self.date
je.company = self.company 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 = { credit_entry = {
"account": accumulated_depreciation_account, "account": accumulated_depreciation_account,