fix: use asset in against_voucher while posting gl entries for capitalized asset repairs

(cherry picked from commit a7e43eddad)
This commit is contained in:
Navin S R
2025-11-28 12:54:27 +05:30
committed by Mergify
parent 7ecf86af18
commit a6b7985eb2

View File

@@ -320,7 +320,8 @@ class AssetRepair(AccountsController):
"voucher_no": self.name,
"cost_center": self.cost_center,
"posting_date": self.completion_date,
"against_voucher_type": "Purchase Invoice",
"against_voucher_type": "Asset",
"against_voucher": self.asset,
"company": self.company,
},
item=self,