Update erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py

This commit is contained in:
Nabin Hait 2012-07-25 18:14:46 +05:30
parent e8ff96565c
commit 74b30c15ea

View File

@ -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)