9538c0caa312d9220de3862a10be8a75f5ba8600
Current behavior: When your connection is slow and you try to create a cash move, and you click multiple times on the confirm button. The cash move is created multiple times. This happens because the function is not locked while the asynchronous call is not finished. To fix this we added a custom hook to lock the function while the asynchronous call is not finished. Steps to reproduce: -Open the POS -Press F12 and in the network tab of the developper tools, set the connection to slow 3G -Open the cash move popup, enter an amount and click on confirm multiple times. -Close the session, and check the cash moves created. opw-3431775 closes odoo/odoo#131409 X-original-commit: 6abe0bbd6eb47d0eb890f0c120c2095efc72325b Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com> Signed-off-by: Robin Engels (roen) <roen@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%