revert: "fix: expected value after useful life validation" (#28891)

This commit is contained in:
mergify[bot]
2021-12-15 11:09:34 +05:30
committed by GitHub
parent aee4f87b07
commit a712e5cee6

View File

@@ -470,7 +470,6 @@ class Asset(AccountsController):
asset_value_after_full_schedule = flt(
flt(self.gross_purchase_amount) -
flt(self.opening_accumulated_depreciation) -
flt(accumulated_depreciation_after_full_schedule), self.precision('gross_purchase_amount'))
if (row.expected_value_after_useful_life and