Product Attribute Line Template

product_attribute_line_template
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/18.0/product_attribute_line_template
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, pilarvargas-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits product.product_template_only_form_view
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.