fix: fiscal year check in depreciation logic

This commit is contained in:
Khushi Rawat
2025-03-25 19:54:15 +05:30
parent 782d16c1a3
commit 89d10ad4e6

View File

@@ -59,7 +59,8 @@ class DepreciationScheduleController(StraightLineMethod, WDVMethod):
if self.skip_row:
continue
if self.has_fiscal_year_changed(row_idx):
self.has_fiscal_year_changed(row_idx)
if self.fiscal_year_changed:
self.yearly_opening_wdv = self.pending_depreciation_amount
self.get_prev_depreciation_amount(row_idx)