fix: Remove misleading comment

This commit is contained in:
GangaManoj 2022-06-22 21:24:46 +05:30 committed by Nabin Hait
parent ab13a178b5
commit 2d9153ea30

View File

@ -851,7 +851,6 @@ class Asset(AccountsController):
value = flt(args.get("expected_value_after_useful_life")) / flt(self.gross_purchase_amount)
# square root of flt(salvage_value) / flt(asset_cost)
depreciation_rate = math.pow(value, 1.0 / flt(args.get("total_number_of_depreciations"), 2))
return 100 * (1 - flt(depreciation_rate, float_precision))