Update erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py
This commit is contained in:
parent
e8ff96565c
commit
74b30c15ea
@ -227,5 +227,7 @@ class DocType:
|
||||
|
||||
|
||||
def on_cancel(self):
|
||||
msgprint("Cancellation of stock reconciliation is temporarily suspended. The feature will come back within 2-3 days.")
|
||||
raise Exception
|
||||
self.get_reconciliation_data(submit = 0)
|
||||
self.do_stock_reco(is_submit = -1)
|
Loading…
x
Reference in New Issue
Block a user