-
- Downloads
[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>
Please register or sign in to comment