Sale Order Product Recommendation Secondary Unit

sale_order_product_recommendation_secondary_unit
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_order_product_recommendation_secondary_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/sale-workflow:
    - sale_order_product_recommendation
    - sale_order_secondary_unit
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 adds secondary unit to the product recommendation wizard.

If you want a better mobile usability, the module is ready to use with
the 'web_widget_numeric_step' module. Just install it and you will get a
better numeric input experience.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_recommendation_view_form sale.order.recommendation xpath Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • product_tmpl_id Many2one
    help='To filter secondary uom available' readonly=True related='product_id.product_tmpl_id'
  • product_uom_readonly Boolean
    related='sale_line_id.product_uom_readonly'
  • secondary_uom_name Char
    related='secondary_uom_id.name' string='Secondary Unit'
  • units_included Float
    compute='_compute_units_included' copy=True precompute=True readonly=False store=True
Public methods (1)
  • onchange_sale_uom_id_for_secondary(self)
    @api.onchange('sale_uom_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_order_product_recommendation_secondary_unit
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, sergio-teruel, Weblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/sale-workflow:
    - sale_order_product_recommendation
    - sale_order_secondary_unit
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_recommendation_view_form sale.order.recommendation xpath Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • product_tmpl_id Many2one
    help='To filter secondary uom available' readonly=True related='product_id.product_tmpl_id'
  • product_uom_readonly Boolean
    related='sale_line_id.product_uom_readonly'
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit'
  • secondary_uom_name Char
    related='secondary_uom_id.name'
  • secondary_uom_qty Float
    digits='Product Unit of Measure' string='Secondary Qty'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_order_product_recommendation_secondary_unit
VERSION
VERSION 2.2.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, sergio-teruel, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/sale-workflow:
    - sale_order_product_recommendation
    - sale_order_secondary_unit
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_recommendation_view_form sale.order.recommendation xpath Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • product_tmpl_id Many2one
    help='To filter secondary uom available' readonly=True related='product_id.product_tmpl_id'
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit'
  • secondary_uom_name Char
    related='secondary_uom_id.name'
  • secondary_uom_qty Float
    digits='Product Unit of Measure' string='Secondary Qty'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_order_product_recommendation_secondary_unit
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, david, Alexandre Díaz, OCA Transbot, sergio-teruel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/sale-workflow:
    - sale_order_product_recommendation
    - sale_order_secondary_unit
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_recommendation_view_form sale.order.recommendation xpath Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • product_tmpl_id Many2one
    help='To filter secondary uom available' readonly=True related='product_id.product_tmpl_id'
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit'
  • secondary_uom_name Char
    related='secondary_uom_id.name'
  • secondary_uom_qty Float
    digits=dp.get_precision('Product Unit of Measure') string='Secondary Qty'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/sale_order_product_recommendation_secondary_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSdavid, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_secondary_unit
OCA/sale-workflow:
    - sale_order_product_recommendation
    - sale_order_secondary_unit
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_order_recommendation_view_form sale.order.recommendation field Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • product_tmpl_id Many2one
    help='To filter secondary uom available' readonly=True related='product_id.product_tmpl_id'
  • secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' related='product_id.sale_secondary_uom_id'
  • secondary_uom_qty Float
    digits=dp.get_precision('Product Unit of Measure') string='Secondary Qty'
Public methods (0)

No public methods.