summaryrefslogtreecommitdiff
path: root/addons/base_import/static
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-11-21 09:25:17 +0000
committerPierre Masereel <pim@odoo.com>2019-11-21 13:40:18 +0000
commit1bfcbe4b3c80fcdca3ca148e0d9685e3e723e7eb (patch)
treefb8a96f9ccefd2dd407afa1e213c95a97d38121a /addons/base_import/static
parent5a72faf721505ca61faecf8bbe79e1260e62a95b (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')
0 files changed, 0 insertions, 0 deletions