fix(minor): removed extra parameter

(cherry picked from commit 98e7dfe97f)
This commit is contained in:
Khushi Rawat
2024-05-13 00:10:43 +05:30
committed by Mergify
parent 0b21026eef
commit ce2c6c3165

View File

@@ -669,7 +669,7 @@ def get_straight_line_or_manual_depr_amount(
def get_daily_prorata_based_straight_line_depr(
asset, row, schedule_idx, number_of_pending_depreciations, amount, total_years
asset, row, schedule_idx, number_of_pending_depreciations, amount
):
total_years = flt(number_of_pending_depreciations * row.frequency_of_depreciation) / 12
every_year_depr = amount / total_years