mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-17 08:28:44 +00:00
@@ -186,7 +186,8 @@ class StatusUpdater(Document):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def on_discard(self):
|
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):
|
def update_prevdoc_status(self):
|
||||||
self.update_qty()
|
self.update_qty()
|
||||||
|
|||||||
Reference in New Issue
Block a user