summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-06-07 16:15:09 +0000
committerChristophe Simonis <chs@odoo.com>2019-06-08 10:14:52 +0000
commitb14921d847c444ee1e43380efb007ba6342819ca (patch)
tree5643fa9dc137a50f2288b49de7c74366d4fa5560 /doc/reference
parent8c7423298fd58c2b7560392d7f6371e16b3d0307 (diff)
[FIX] website_sale: fix concurrent update
Since forward-port, `/sale/get_combination_info_website` and `_cart_update` would lead to a concurrency error. Indeed, the session would not have an order_id at first. Then both rpc would be sent at the same time: - `cart_update` would create an order and add it in the session - `/sale/get_combination_info_website` would end up calling `_compute_cart_qty` which would call `sale_get_order` and would set the `sale_order_id` to none, just aftet the `_compute_cart_qty` would actually add an order in the session, simultaneously. closes odoo/odoo#33993 Signed-off-by: Christophe Simonis <chs@odoo.com> Co-authored-by: Romain Derie <rde@odoo.com> Co-authored-by: Christophe Simonis <chs@odoo.com> Co-authored-by: Sébastien Theys <seb@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions