mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
fix(minor): removed extra parameter
(cherry picked from commit 98e7dfe97f)
This commit is contained in:
@@ -669,7 +669,7 @@ def get_straight_line_or_manual_depr_amount(
|
|||||||
|
|
||||||
|
|
||||||
def get_daily_prorata_based_straight_line_depr(
|
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
|
total_years = flt(number_of_pending_depreciations * row.frequency_of_depreciation) / 12
|
||||||
every_year_depr = amount / total_years
|
every_year_depr = amount / total_years
|
||||||
|
|||||||
Reference in New Issue
Block a user