fix: pos opening entry's status not getting updated on cancel (backport #46909) (#46911)

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:
mergify[bot]
2025-04-07 21:03:20 +05:30
committed by GitHub
parent 999ab28bf0
commit 8b11d13cd4

View File

@@ -70,3 +70,6 @@ class POSOpeningEntry(StatusUpdater):
def on_submit(self):
self.set_status(update=True)
def on_cancel(self):
self.set_status(update=True)