0ffd04e7deea9bce8dc5f59e2457737ca7521251
When selecting an attribute value in POS, what we store is the `description`, which is a string that represents the selected attribute values. Ex: selecting `Size: M` and `Material: Leather` will result in the description: `(L, Leather)`. This choice does not lead to a logical API for dealing with product attibutes. In this pr, we add a new field that stores the selected `ids` of `"product.template.attribute.value"` and remove the `selected_attributes` `Json` field from the `pos_self_order` override of the `pos.order.line` model. The `attributeHelper` function from the `tour_utils.js` file from `pos_self_order` is improved such that it can now handle both checking if a certain attribute is selected and actually selecting an attribute. closes odoo/odoo#126398 Task: 3378533 Related: odoo/upgrade#4992 Signed-off-by: Joseph Caburnay (jcb) <jcb@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%