ed47260648c1cd8cc036698cc79247c6753a141c
Description of the issue: This commit addresses a traceback error that occurred when adding a product to the cart with an empty cart. The issue was related to accessing values for 'topping_ids_1', 'topping_ids_2', and 'topping_ids_3' without proper validation Fix: In this fix i have added checks to ensure that the values are present before accessing them this prevents an 'index out of range' error and resolves the traceback problem, additionally, the code now considers the values in 'topping_1_values', 'topping_2_values', and 'topping_3_values' to determine whether to access the values or fall back to default values from the order. Desired behavior after PR is merged: traceback will fixed and work properly task-3511953 closes odoo/odoo#135942 Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%