diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-11-21 09:25:17 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-11-21 13:40:18 +0000 |
| commit | 1bfcbe4b3c80fcdca3ca148e0d9685e3e723e7eb (patch) | |
| tree | fb8a96f9ccefd2dd407afa1e213c95a97d38121a /addons/base_import/static/src/js | |
| parent | 5a72faf721505ca61faecf8bbe79e1260e62a95b (diff) | |
[FIX] point_of_sale: duplicate orders
When you create a pos order, it is possible that the request timeout or
the client loose the connection with the server, that will lead to not
have the server_id of the order sent to the server. So when the client
will try to synchronize the order again, it'll not send the server_id to
the server, and the server will create a new order which is a duplicate
of the one created when the client lost the connection.
To avoid this duplication, we are using the pos_reference to find if
there is an existing order like in 12.0 to avoid duplication.
closes odoo/odoo#40837
Task-id: 2127656
X-original-commit: cddf29e70008dc1fcb6ec41b4dfc739d4d06cf6d
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/base_import/static/src/js')
0 files changed, 0 insertions, 0 deletions
