chore: fix against account

This commit is contained in:
Deepesh Garg 2022-08-25 12:10:52 +05:30 committed by GitHub
parent b4a2eb2e65
commit c1f6dd46d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ class AssetRepair(AccountsController):
"account": fixed_asset_account,
"debit": item.amount,
"debit_in_account_currency": item.amount,
"against": item.expense_account,
"against": item.expense_account or default_expense_account,
"voucher_type": self.doctype,
"voucher_no": self.name,
"cost_center": self.cost_center,