Skip to main content
Odoo Community Association

Sale Order Line all Product Attribute Values

Alpha License: LGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module extends the functionality of Sale Order Lines to support view and filter by Product Attribute Values used.

Table of contents

Use Cases / Context

This module was developed because there is no way to know what Product Attribute Values has been used on a product if there is only one attribute configured in the product with “Never create variants” mode.

It will be useful for you if you want to know which Product Attribute Values has been used in which Sale Order Lines.

If you need this module for those reasons, these might interest you too:

  • sale_order_line_menu

Configuration

This 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

To use this module, you need to:

  1. Create an Attribute called “Trademark” (for example) with Display Type “Pills”, Variants Creation Mode “Never” and add an Attribute Value called “Adidas”

  2. Create a product called “Shoe Adidas REF 123” and “Show Adidas REF 456”

  3. Add “Trademark: Adidas” on Attributes & Variants tab on both products and configure (you can set an incremented price if you want)

  4. Sell both products in a Sale Order

  5. Created Sale Order Lines has Product Template Attribute Values and Attribute Values its lines.

  6. If you has installed sale_order_line_menu, you can check those values on Sale > Orders > Order Lines.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Moduon

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

Shide rafaelbn

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-sale-order-line-product-attribute-values 18.0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-order-line-product-attribute-values 18.0.1.0.1
File Interpreter ABI Platform
odoo_addon_sale_order_line_product_attribute_values-18.0.1.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_order_line_product_attribute_values-18.0.1.0.1-py3-none-any.whl

Download URL odoo_addon_sale_order_line_product_attribute_values-18.0.1.0.1-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
433780cc48c1e71dd70cfa85e476d4ed32606ce8b84e2308aa7cc2d21a2fe26d
BLAKE2b-256 checksum
How to use checksums
0e7e28b103f210ebd30ba68a630b73958e76c3f7166396e7fa0692e153c8068c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page