Skip to Content
Menu
v 16.0 Third Party 7
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 115
Technical Name sale_order_line_product_attribute_values
LicenseLGPL-3
Websitehttps://github.com/OCA/sale-workflow
You bought this module and need support? Click here!

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.

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

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

  • Eduardo de Miguel (Moduon)

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.