summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-03-12 10:59:27 +0000
committerSébastien Theys <seb@odoo.com>2019-03-12 10:59:27 +0000
commitcd773e79df35c5f29a229214cf8bec9c06b9857d (patch)
tree8d4f815290123873f039616645d1bcab27ef0e1a /addons/web/static/src
parent77584bee3c743fd59d7b5174e8f6b0c74b64db12 (diff)
[FIX] website_sale: prevent crash if setting qty to 0 in cart update
When there is an optional product for which the quantity is set to 0 because there is no stock available, the cart update would raise because it tried to read the order line even though it was deleted above. Now we apply the logic only if the order_line actually exists. Part of task 1950712 closes odoo/odoo#31779 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions