Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
OCA-git-bot, oca-ci, Guillaume MASSON
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
This technical module introduces a reusable mixin designed to enable any
model to establish dependencies on specific product attribute values. By
inheriting from this mixin, developers can easily link business rules,
configurations, or records to precise product variants without
duplicating complex filtering logic.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (5)
  • attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' string='Attribute Values'
  • available_attribute_value_domain Binary
    compute='_compute_available_attribute_value_domain'
  • available_product_domain Binary
    compute='_compute_available_product_domain'
  • product_id Many2one → product.product
    comodel_name='product.product'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' string='Product Template'
Public methods (1)
  • is_matching_product(self, product)

Loading…