Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 9 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
1
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.09 MB
Module directory on disk
Code analysis 0 migration notes 5 models 12 views 0 HTTP endpoints

Description

This module extends the functionality of stock module to allow define other units with their conversion factor.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_stock_secondary_unit

Code analysis

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

Views touched 12

XML IDNameModelTypeStatus
product_form_view_procurement_button product.product form Inherits stock.product_form_view_procurement_button
product_product_tree_view product.product tree Inherits product.product_product_tree_view
product_template_form_view_procurement_button product.template form Inherits stock.product_template_form_view_procurement_button
product_template_tree_view product.template tree Inherits product.product_template_tree_view
report_delivery_document report_delivery_document ir.ui.view qweb Inherits stock.report_delivery_document
stock_report_delivery_aggregated_move_lines_inherit_delivery stock_report_delivery_aggregated_move_lines_inherit_delivery ir.ui.view qweb Inherits stock.stock_report_delivery_aggregated_move_lines
stock_report_delivery_has_serial_move_line stock_report_delivery_has_serial_move_line ir.ui.view qweb Inherits stock.stock_report_delivery_has_serial_move_line
view_picking_form Stock Picking Secondary Unit stock.picking form Inherits stock.view_picking_form
view_stock_move_line_detailed_operation_tree stock.move.line.operations.tree stock.move.line tree Inherits stock.view_stock_move_line_detailed_operation_tree
view_stock_move_line_operation_tree Stock Move Secondary Unit stock.move.line tree Inherits stock.view_stock_move_line_operation_tree
view_stock_move_operations stock.move.operations.form.inherit stock.move form Inherits stock.view_stock_move_operations
view_template_property_form Product template Secondary Unit product.template form Inherits stock.view_template_property_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (1)
  • stock_secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' domain="['|', ('product_id', '=', id),'&', ('product_tmpl_id', '=', product_tmpl_id), ('product_id', '=', False)]" readonly=False string='Second unit for inventory'
Public methods (0)

No public methods.

New fields (1)
  • stock_secondary_uom_id Many2one → product.secondary.unit
    comodel_name='product.secondary.unit' domain="[('product_tmpl_id', '=', id), ('product_id', '=', False)]" string='Second unit for inventory'
Public methods (0)

No public methods.

New fields (2)
  • product_uom_qty Float
    compute='_compute_product_uom_qty' copy=True precompute=True readonly=False store=True
  • secondary_uom_qty Float
    copy=False
Public methods (1)
  • onchange_product_uom_for_secondary(self)
    @api.onchange('product_uom')

New fields (1)
  • quantity Float
    compute='_compute_quantity' precompute=True readonly=False store=True
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • secondary_unit_qty_available Float
    compute='_compute_secondary_unit_qty_available' digits='Product Unit' string='Quantity On Hand (2Unit)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…