Attribute Value XML IDs
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
Product variants are built from product.template.attribute.value records: one per attribute value on a product template (for example Size: L on a Desk Organizer). Odoo gives these records no XML ID, so imports and integrations have to look them up by database id, which differs between databases.
With a predictable XML ID, extra prices, exclusions and variant combinations can be imported and synchronized with external systems by reference.
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 > Configuration > 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 19.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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_product_template_attribute_value_xmlid-19.0.1.0.1-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_product_template_attribute_value_xmlid-19.0.1.0.1-py3-none-any.whl |
Release files / odoo_addon_product_template_attribute_value_xmlid-19.0.1.0.1-py3-none-any.whl
| Download URL | odoo_addon_product_template_attribute_value_xmlid-19.0.1.0.1-py3-none-any.whl |
|---|---|
| Size | 241.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fc18560ee13da7ba566f6f105210b1d4af4b2bcba01c054255e2445fc163075
|
|
BLAKE2b-256 checksum How to use checksums |
87b81c074574085857cb35657ac53b59d7d4dae060a15689bfec7a10eee9784c
|
| 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 19.0.1.0.1
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-19.0.1.0.1-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.