Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…