Product Attribute Line Template
product_attribute_line_template · OCA/product-attribute
Health
55/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
3 models
3 views
0 HTTP endpoints
Migration considerations
ProductAttributeTemplate— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. (2 occurrences in this file) migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows defining reusable attribute templates and applying them to products in order to quickly generate attribute lines (without values).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>help='Leave empty to make it available for all companies.'string='Company' args: 'res.company' -
line_idsOne2many → product.attribute.template.linecopy=Truestring='Attributes' args: 'product.attribute.template.line', 'template_id' -
nameCharrequired=Truetranslate=True
No public methods.
New fields (3)
-
attribute_idMany2one → product.attributehelp='Attribute to be added to the product when applying this template.'required=Truestring='Attribute' args: 'product.attribute' -
sequenceIntegerdefault=10 -
template_idMany2one → product.attribute.templateondelete='cascade'required=True args: 'product.attribute.template'
No public methods.
New fields (1)
-
attribute_template_idMany2one → product.attribute.templatehelp='Select a template to add its attributes to the product. The selection is cleared after applying.'string='Apply attribute template' args: 'product.attribute.template'
No public methods.