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:
commit
0fc4bb02d1
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user