fix: message if stock reco is enqueued

This commit is contained in:
Nabin Hait 2019-02-08 16:56:11 +05:30
parent 8d4bb3e327
commit 17e0513270

View File

@ -259,6 +259,7 @@ class StockReconciliation(StockController):
def submit(self):
if len(self.items) > 100:
msgprint(_("The task has been enqueued as a background job. In case there is any issue on processing in background, the system will add a comment about the error on this Stock Reconciliation and revert to the Draft stage"))
self.queue_action('submit')
else:
self._submit()