chore: remove duplicate code

This commit is contained in:
Khushi Rawat
2025-08-05 15:54:11 +05:30
committed by GitHub
parent 4f14651a42
commit 35f826c499

View File

@@ -133,9 +133,6 @@ class AssetDepreciationSchedule(Document):
)
frappe.get_doc("Journal Entry", d.journal_entry).cancel()
def on_cancel(self):
self.db_set("status", "Cancelled")
def update_shift_depr_schedule(self):
if not self.shift_based or self.docstatus != 0:
return