mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-24 19:39:50 +00:00
@@ -186,7 +186,8 @@ class StatusUpdater(Document):
|
||||
"""
|
||||
|
||||
def on_discard(self):
|
||||
self.db_set("status", "Cancelled")
|
||||
if self.meta.has_field("status"):
|
||||
self.db_set("status", "Cancelled")
|
||||
|
||||
def update_prevdoc_status(self):
|
||||
self.update_qty()
|
||||
|
||||
Reference in New Issue
Block a user