Generate XML IDs for Product Template Attribute Values
This module gives every product.template.attribute.value record a predictable XML ID, so that product variants can be referenced in imports and integrations without looking up database ids.
When Odoo creates a template attribute value, the module adds an XML ID product_template_attribute_value.<template>_<value>, where:
<template> is the name of the XML ID of the product template;
<value> is the name of the XML ID of the attribute value.
Characters other than letters, digits and underscores are replaced by _.
No XML ID is generated when the template or the attribute value has no XML ID (the result would not be predictable), or when the name is already used by another record; the latter is logged as a warning.
Table of contents
Use Cases / Context
Purpose:
The module ensures that every product.template.attribute.value record has a predictable and consistent XML ID, which is crucial for:
Data Integration: Facilitating seamless data exchange with external systems that rely on stable identifiers. Automation: Simplifying automated processes within Odoo that need to reference specific attribute value combinations.
Use Cases:
E-commerce platforms that need to synchronize product variant data with Odoo. Warehouse management systems that rely on unique identifiers for product configurations. Any scenario where stable and predictable identifiers for product attribute combinations are required. This description provides a good overview of the module’s purpose and functionality.
Installation
[ This file must only be present if there are very specific installation instructions, such as installing non-python dependencies. The audience is systems administrators. ]
Configuration
To configure this module, you need to:
Ensure that the product module is installed in your Odoo instance, as this module is a dependency.
Place the product_template_attribute_value_xmlid module directory in your Odoo addons path.
Install the product_template_attribute_value_xmlid module through the Odoo Apps interface.
Usage
XML IDs are generated automatically when attribute values are added to a product template.
To generate the XML IDs of records that existed before the module was installed:
Go to Sales > Products > Product Template Attribute Values.
Open any record.
Click Generate XML IDs.
All template attribute values without a generated XML ID get one, if their template and attribute value have an XML ID.
Known issues / Roadmap
This module might result in unpredictable behaviour when used with enterprise module product_barcodelookup.
Changelog
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
Contributors
bosd
Other credits
Maintainers
This module is part of the GetFluvo/addons project on GitHub.
You are welcome to contribute.
Metadata
Release files for odoo-addon-product-template-attribute-value-xmlid 20.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 | Actions Reset |
|---|---|---|---|---|
| odoo_addon_product_template_attribute_value_xmlid-20.0.1.0.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_product_template_attribute_value_xmlid-20.0.1.0.0.2-py3-none-any.whl |
Release files / odoo_addon_product_template_attribute_value_xmlid-20.0.1.0.0.2-py3-none-any.whl
| Download URL | odoo_addon_product_template_attribute_value_xmlid-20.0.1.0.0.2-py3-none-any.whl |
|---|---|
| Size | 40.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3800af286c4ada0fd7c30a22ee805b8ef798574a061acca9e19e99290badc054
|
|
BLAKE2b-256 checksum How to use checksums |
0f97ada952f55493d5a76a20849de2c117625b0692758def039b0263ac509230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for odoo-addon-product-template-attribute-value-xmlid 20.0.1.0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for odoo_addon_product_template_attribute_value_xmlid-20.0.1.0.0.2-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.