Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:48
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Roca, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits sale_order_product_recommendation.sale_order_recommendation_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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')

Loading…

Loading…

Loading…

Loading…