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

This commit is contained in:
Navin S R
2025-11-28 12:54:27 +05:30
parent 0520ab3c66
commit a7e43eddad

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,