mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-20 07:15:11 +00:00
fix: pos opening entry's status not getting updated on cancel (#46909)
(cherry picked from commit 6fae98afda)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
@@ -70,3 +70,6 @@ class POSOpeningEntry(StatusUpdater):
|
|||||||
|
|
||||||
def on_submit(self):
|
def on_submit(self):
|
||||||
self.set_status(update=True)
|
self.set_status(update=True)
|
||||||
|
|
||||||
|
def on_cancel(self):
|
||||||
|
self.set_status(update=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user