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
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
pilarvargas-tecnativa, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows defining reusable attribute templates and applying them
to products in order to quickly generate attribute lines (without values).

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_attribute_template_form product.attribute.template.form product.attribute.template form New
view_product_attribute_template_list product.attribute.template.list product.attribute.template list New
view_product_template_form_inherit_attribute_templates product.template.form.inherit.attribute.templates product.template form Inherits product.product_template_only_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (4)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    default=<expr> help='Leave empty to make it available for all companies.' string='Company' args: 'res.company'
  • line_ids One2many → product.attribute.template.line
    copy=True string='Attributes' args: 'product.attribute.template.line', 'template_id'
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

New fields (3)
  • attribute_id Many2one → product.attribute
    help='Attribute to be added to the product when applying this template.' required=True string='Attribute' args: 'product.attribute'
  • sequence Integer
    default=10
  • template_id Many2one → product.attribute.template
    ondelete='cascade' required=True args: 'product.attribute.template'
Public methods (0)

No public methods.

New fields (1)
  • attribute_template_id Many2one → product.attribute.template
    help='Select a template to add its attributes to the product. The selection is cleared after applying.' string='Apply attribute template' args: 'product.attribute.template'
Public methods (0)

No public methods.