Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.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 1 model 2 views 0 HTTP endpoints

Description

Set UoM in Pricelist Rules.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
- uom
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 2

XML IDNameModelTypeStatus
product_pricelist_item_form_view Add Pricelist Rule UoM fields to Pricelist Rule form view product.pricelist.item form Inherits product.product_pricelist_item_form_view
product_pricelist_view Add Pricelist Rule UoM fields to Pricelist form view product.pricelist Inherits product.product_pricelist_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (2)
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' compute='_compute_uom_id' readonly=False store=True string='UoM'
  • uom_min_quantity Float
    compute='_compute_uom_min_quantity' digits='Product Unit' readonly=False store=True string='Min. Quantity in UoM'
Public methods (1)
  • onchange_uom_min_quantity(self)
    @api.onchange('product_id', 'product_tmpl_id', 'uom_id', 'uom_min_quantity')

Loading…