Product UoM - Use Type

product_uom_use_type
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_uom_use_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Weblate, OCA-git-bot, oca-ci
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
view_product_uom_form uom.uom field Inherits uom.product_uom_form_view
view_product_uom_tree uom.uom field Inherits uom.product_uom_tree_view
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • uom_id Many2one
    domain=[('use_type', 'in', ('sale', 'both'))]
  • uom_po_id Many2one
    domain=[('use_type', 'in', ('purchase', 'both'))]
Public methods (0)

No public methods.

New fields (1)
  • use_type Selection
    default='both' required=True args: [('sale', 'Unit available for sales'), ('purchase', 'Unit available for purchases'), ('both', 'Unit available for sales and purchases')]
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_uom_use_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot
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 (2)
XML IDNameModelTypeStatus
view_product_uom_form uom.uom field Inherits uom.product_uom_form_view
view_product_uom_tree uom.uom field Inherits uom.product_uom_tree_view
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • uom_id Many2one
    domain=[('use_type', 'in', ('sale', 'both'))]
  • uom_po_id Many2one
    domain=[('use_type', 'in', ('purchase', 'both'))]
Public methods (0)

No public methods.

New fields (1)
  • use_type Selection
    default='both' required=True args: [('sale', 'Unit available for sales'), ('purchase', 'Unit available for purchases'), ('both', 'Unit available for sales and purchases')]
Public methods (0)

No public methods.