fix: Replace edit_dates with flags.increase_in_asset_life
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py
index 11b19ae..81c0918 100644
--- a/erpnext/regional/india/utils.py
+++ b/erpnext/regional/india/utils.py
@@ -835,7 +835,7 @@
if row.depreciation_method in ("Straight Line", "Manual"):
# if the Depreciation Schedule is being prepared for the first time
- if not asset.edit_dates:
+ if not asset.flags.increase_in_asset_life:
depreciation_amount = (flt(row.value_after_depreciation) -
flt(row.expected_value_after_useful_life)) / depreciation_left