mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 17:55:40 +00:00
chore: remove duplicate code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user