mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 10:57:56 +00:00
Co-authored-by: Krishna Pramod Shirsath <91021227+krishna-254@users.noreply.github.com> Co-authored-by: diptanilsaha <diptanil@frappe.io>
This commit is contained in:
@@ -217,6 +217,7 @@ class POSClosingEntry(StatusUpdater):
|
|||||||
self.update_sales_invoices_closing_entry()
|
self.update_sales_invoices_closing_entry()
|
||||||
|
|
||||||
def before_cancel(self):
|
def before_cancel(self):
|
||||||
|
if self.status != "Failed":
|
||||||
self.check_pce_is_cancellable()
|
self.check_pce_is_cancellable()
|
||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user