Product Secondary Unit

product_secondary_unit
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/19.0/product_secondary_unit
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
COMMITTERSWeblate, OCA-git-bot, oca-ci, Jochen De Bie
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of product module to allow define
other units with their conversion factor.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_normal_form_view Product Secondary Unit product.product xpath Inherits product.product_normal_form_view
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' compute='_compute_secondary_uom_ids' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse='_inverse_secondary_uom_ids' inverse_name='product_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=<expr> ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' precompute=True readonly=False store=True string='Secondary Qty'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

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_secondary_unit
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, Carlos Roca, pilarvargas-tecnativa, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of product module to allow define
other units with their conversion factor.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_normal_form_view Product Secondary Unit product.product xpath Inherits product.product_normal_form_view
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' compute='_compute_secondary_uom_ids' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse='_inverse_secondary_uom_ids' inverse_name='product_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=_get_default_secondary_uom ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' precompute=True readonly=False store=True string='Secondary Qty'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/17.0/product_secondary_unit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Alexey Pelykh, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of product module to allow define
other units with their conversion factor.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_normal_form_view Product Secondary Unit product.product xpath Inherits product.product_normal_form_view
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' compute='_compute_secondary_uom_ids' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse='_inverse_secondary_uom_ids' inverse_name='product_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=_get_default_secondary_uom ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' precompute=True readonly=False store=True string='Secondary Qty'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/product_secondary_unit
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSAlexey Pelykh, Weblate, OCA-git-bot, oca-ci, remihb, Carlos Serra-Toro, pilarvargas-tecnativa, chaule97
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_normal_form_view Product Secondary Unit product.product xpath Inherits product.product_normal_form_view
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' compute='_compute_secondary_uom_ids' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse='_inverse_secondary_uom_ids' inverse_name='product_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=_get_default_secondary_uom ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' precompute=True readonly=False store=True string='Secondary Qty'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/15.0/product_secondary_unit
VERSION
VERSION 2.0.7
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Carlos Dauden, sergio-teruel, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, remihb, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_normal_form_view Product Secondary Unit product.product xpath Inherits product.product_normal_form_view
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (4)

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' compute='_compute_secondary_uom_ids' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse='_inverse_secondary_uom_ids' inverse_name='product_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

New fields (8)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product Variant'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=_get_default_secondary_uom ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' readonly=False store=True string='Secondary Qty'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_secondary_unit
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, Jesús Alan Ramos Rodríguez, oca-travis, Weblate, OCA-git-bot, Mourad, oca-ci, Kévin Roche, Carmen Rondon Regalado
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (3)

New fields (7)
  • active Boolean
    default=True
  • code Char
  • dependency_type Selection
    default='dependent' help="If dependency type is 'dependent' the factor is used to compute quantity in primary unit,otherwise primary and secondary unit are independent. For example if you sell serviceby package (1 unit for example) and you want to put the real time (ex : 4 hours) to allows employee scheduling" selection=[('dependent', 'Dependent'), ('independent', 'Independent')]
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' default=_get_default_secondary_uom ondelete='restrict' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' default='1' digits='Product Unit of Measure' readonly=False store=True string='Secondary Qty'
Public methods (0)

No public methods.

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/13.0/product_secondary_unit
VERSION
VERSION 2.2.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, sergio-teruel, Ernesto Tejeda, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_secondary_unit_view_tree product.secondary.unit.view.tree product.secondary.unit tree New
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (3)

New fields (6)
  • active Boolean
    default=True
  • code Char
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' ondelete='cascade' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (2)
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' string='Second unit'
  • secondary_uom_qty Float
    compute='_compute_secondary_uom_qty' digits='Product Unit of Measure' readonly=False store=True string='Secondary Qty'
Public methods (0)

No public methods.

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' context={'active_test': False} help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/12.0/product_secondary_unit
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 Transbot, oca-travis, Weblate, OCA-git-bot, Kitti U
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (2)

New fields (5)
  • code Char
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Product Template'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
    @api.multi
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/11.0/product_secondary_unit
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, tbaden
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (2)

New fields (5)
  • code Char
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Product Template'
  • uom_id Many2one → product.uom
    comodel_name='product.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
    @api.multi
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/10.0/product_secondary_unit
VERSION
VERSION 1.0.1
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 Transbot, oca-travis, OCA-git-bot, hparfr
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_form_view Product template Secondary Unit product.template xpath Inherits product.product_template_form_view
Models touched (2)

New fields (5)
  • code Char
  • factor Float
    default=1.0 digits=0 required=True string='Secondary Unit Factor'
  • name Char
    required=True translate=True
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Product Template'
  • uom_id Many2one → product.uom
    comodel_name='product.uom' help='Default Secondary Unit of Measure.' required=True string='Secondary Unit of Measure'
Public methods (2)
  • name_get(self)
    @api.multi
  • name_search(self, name='', args=None, operator='ilike', limit=100)
    @api.model

New fields (1)
  • secondary_uom_ids One2many → product.secondary.unit
    comodel_name='product.secondary.unit' help='Default Secondary Unit of Measure.' inverse_name='product_tmpl_id' string='Secondary Unit of Measure'
Public methods (0)

No public methods.