chore: rename modify_draft_asset_depreciation_schedules
diff --git a/erpnext/assets/doctype/asset/asset.py b/erpnext/assets/doctype/asset/asset.py
index 5fe7568..85b309f 100644
--- a/erpnext/assets/doctype/asset/asset.py
+++ b/erpnext/assets/doctype/asset/asset.py
@@ -30,8 +30,8 @@
)
from erpnext.assets.doctype.asset_depreciation_schedule.asset_depreciation_schedule import (
make_draft_asset_depreciation_schedules,
- modify_draft_asset_depreciation_schedules,
convert_draft_asset_depreciation_schedules_into_active,
+ update_draft_asset_depreciation_schedules,
)
from erpnext.assets.doctype.asset_category.asset_category import get_asset_category_account
from erpnext.controllers.accounts_controller import AccountsController
@@ -46,7 +46,7 @@
self.set_missing_values()
if not self.split_from:
self.prepare_depreciation_data()
- modify_draft_asset_depreciation_schedules(self)
+ update_draft_asset_depreciation_schedules(self)
self.validate_gross_and_purchase_amount()
if self.get("schedules"):
self.validate_expected_value_after_useful_life()
diff --git a/erpnext/assets/doctype/asset_depreciation_schedule/asset_depreciation_schedule.py b/erpnext/assets/doctype/asset_depreciation_schedule/asset_depreciation_schedule.py
index 27920e3..7bb8b0e 100644
--- a/erpnext/assets/doctype/asset_depreciation_schedule/asset_depreciation_schedule.py
+++ b/erpnext/assets/doctype/asset_depreciation_schedule/asset_depreciation_schedule.py
@@ -27,7 +27,7 @@
prepare_draft_asset_depreciation_schedule_data(asset_depr_schedule, asset, row)
-def modify_draft_asset_depreciation_schedules(asset):
+def update_draft_asset_depreciation_schedules(asset):
for row in asset.get("finance_books"):
asset_depr_schedule_name = get_draft_asset_depreciation_schedule_name(
asset.name, row.finance_book