Sale Order Line all Product Attribute Values
This module extends the functionality of Sale Order Lines to support view and filter by Product Attribute Values used.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0This module adds stored fields on sale order lines that collect every product attribute value used by the line, so you can see them on the line form and filter or group sale order lines by attribute values.
When you sell a product with variants or attributes, Odoo normally keeps the chosen attribute values in several different places on the sale order line. This module gathers all of them into two new read-only fields on sale.order.line: one listing the product template attribute values and one listing the plain product attribute values.
- On the sale order line form (read-only view) a new "Attributes" group shows the attribute values as coloured tags and as a small editable list with the attribute, its value, the extra price (with a total) and the HTML colour.
- In the sale order lines list view the attribute values field is available as an optional column that you can switch on.
- In the sale order lines search view you can search by attribute values and group the lines by attribute value.
The values are computed automatically from the product, the no-variant attribute values chosen on the line, the custom attribute values and the product's own template attribute values, including single-value no-variant attributes that are active. The fields are stored, so they can be used in filters and groupings. No new menus, buttons, emails or scheduled actions are added.
Depends on
Required by other modules
Models and fields (1)
- sale.order.line · extends an existing modelall_product_attribute_value_ids, all_product_template_attribute_value_ids (Product Template Attribute Values)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0This module will not trigger the recomputation of the lines attributes when installing only this module. This will avoid the installation timeout.
If you later want to recompute the lines, you can use a scheduled action similar to this one:
env["sale.order.line"].search([
("product_template_id.attribute_line_ids", "!=", []),
])._compute_all_product_template_attribute_value_ids()Usage
Source · Odoo 18.0To use this module, you need to:
- Create an Attribute called "Trademark" (for example) with Display Type "Pills", Variants Creation Mode "Never" and add an Attribute Value called "Adidas"
- Create a product called "Shoe Adidas REF 123" and "Show Adidas REF 456"
- Add "Trademark: Adidas" on Attributes & Variants tab on both products and configure (you can set an incremented price if you want)
- Sell both products in a Sale Order
- Created Sale Order Lines has Product Template Attribute Values and Attribute Values its lines.
- If you has installed
sale_order_line_menu, you can check those values on Sale > Orders > Order Lines.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.