fix: manual depreciation update logic by khushi8112 [frappe] PR#51175
From: https://github.com/frappe/erpnext/pull/51175
Date: 2025-12-17 17:46:02+05:30
- fix: additional check to regenerate depreciation
- fix: logic error in docstatus check and use better arg
- fix: check and update depreciation if depreciation method was changed
- fix: update depreciation schedule when asset value changes for manual depreciation
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-51175
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-51175
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease