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
commit 0fc4bb02d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ class AssetValueAdjustment(Document):
je.posting_date = self.date
je.company = self.company
je.remark = "Depreciation Entry against {0} worth {1}".format(self.asset, self.difference_amount)
je.finance_book = self.finance_book
credit_entry = {
"account": accumulated_depreciation_account,