Repository
OCA/stock-logistics-warehouse · module folder · Try on Runboat
Module version
1.0.0
Category
stock
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-warehouse
Last tracking update
2026-08-21 11:28:19
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_stock_secondary_unit
Description
This module extends the functionality of stock module to allow define
other units with their conversion factor.

Code Analysis

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 of Measure' string='Quantity On Hand (2Unit)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…