Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] point_of_sale: flush order timeout
When an order is synchronized to the server, there is a timeout of 7.5 seconds that is left before considering that the order has not been synchronized, and should be re-syncronised. Since syncronization of order in pos_restaurant have been made, there are more operations than before that are performed, and the synchronization of an order can take more than that. The validation of a picking can also take a lot of time, almost when products are kits and compose of multiple products. The problem, is that if it takes more than 7.5, the same order will be pushed again to the server, even if the previous sychro still running, which will lead to wait the previous request that has the lok on the same records, all this blocked request can lead to block all workers of the server because all requests are trying to modify same objects. So we've increased the timout for flushed orders. closes odoo#44600 Signed-off-by: Olivier Dony (odo) <[email protected]>
- Loading branch information