Stock Secondary Unit
stock_secondary_unit · OCA/stock-logistics-warehouse
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 12
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → product.secondary.unitcomodel_name='product.secondary.unit'domain="['|', ('product_id', '=', id),'&', ('product_tmpl_id', '=', product_tmpl_id), ('product_id', '=', False)]"readonly=Falsestring='Second unit for inventory'
No public methods.
New fields (1)
-
stock_secondary_uom_idMany2one → product.secondary.unitcomodel_name='product.secondary.unit'domain="[('product_tmpl_id', '=', id), ('product_id', '=', False)]"string='Second unit for inventory'
No public methods.
New fields (2)
-
product_uom_qtyFloatcompute='_compute_product_uom_qty'copy=Trueprecompute=Truereadonly=Falsestore=True -
secondary_uom_qtyFloatcopy=False
-
onchange_product_uom_for_secondary(self)@api.onchange('product_uom')
New fields (1)
-
quantityFloatcompute='_compute_quantity'precompute=Truereadonly=Falsestore=True
-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
secondary_unit_qty_availableFloatcompute='_compute_secondary_unit_qty_available'digits='Product Unit'string='Quantity On Hand (2Unit)'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…