8e720a9319317217fa39c3be982b41072fcd479a
If you validate an order it will be sent to the backend. If you then close the POS frontend somehow before clicking 'Next order' this order will be reloaded from localStorage when reopening it. This is problematic because it allows the user to then modify this order and validate it again. Everything will appear fine but in the backend this new, modified order will be ignored as it has the same pos_reference as the one that was sent initially. The deeper underlying issue is that there exists a brief timeframe where the same order can exist twice in the db: both as 'order' and 'unpaid_order'. To ensure this does not happen this fix removes the order from the unpaid orders after it is saved as a validated order. Fixes #13538
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%