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

This commit is contained in:
mergify[bot]
2021-12-15 11:09:21 +05:30
committed by GitHub
parent cd075ce3be
commit 1988e72710

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