fix: stock reconciliation getting time out error during submission
This commit is contained in:
parent
71c9c4f48f
commit
c432766a70
@ -469,7 +469,7 @@ class StockReconciliation(StockController):
|
|||||||
def submit(self):
|
def submit(self):
|
||||||
if len(self.items) > 100:
|
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"))
|
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', timeout=2000)
|
self.queue_action('submit', timeout=4600)
|
||||||
else:
|
else:
|
||||||
self._submit()
|
self._submit()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user