Create product variant from custom value
Create variants when configured custom attributes are used.
The created variants are useful to retrieve the stock quantity or for purchase.
Table of contents
Configuration
In any custom attribute value, enable Create custom variant.
Usage
When a product template is added to a sale order line, the configured custom values become real attribute values. Here is an example:
Create an attribute “Length (cm)”
Add some values to the attribute: - 5 - 10 - Custom
For the “Custom” value, enable custom and Create custom variant (added by this module)
Create a product template “Glass” having the created attribute and all its values
Create a sale order that includes the product template
Set the value 42 for the attribute “Length (cm)”
With the above steps, this module creates:
- A new attribute value “42” for the attribute “Length (cm)”This attribute value is not linked to the product template, so it does not appear as a choice when the template is sold.
A variant for the template, linked to the created attribute value
The created variant can then be used to retrieve its stock quantity or to purchase that exact product variant that had been sold.
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
Maintainers
This module is maintained by the OCA.
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.
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-product-attribute-custom-value-variant 16.0.1.0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_product_attribute_custom_value_variant-16.0.1.0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_product_attribute_custom_value_variant-16.0.1.0.0.2-py3-none-any.whl
| Download URL | odoo_addon_product_attribute_custom_value_variant-16.0.1.0.0.2-py3-none-any.whl |
|---|---|
| Size | 28.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12dfadff3d7bf8a87b56f1f96a89c62bd0c5493411895107619d262c0e2bc746
|
|
BLAKE2b-256 checksum How to use checksums |
b9dce0bc16f6d457627e14c30879755d7b8032dbff41ca503d953e6e51813555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|