TIP: You can type at any time to perform a new search.
Stock Secondary Unit
stock_secondary_unit · OCA/stock-logistics-warehouse
- 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 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 of Measure'string='Quantity On Hand (2Unit)'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…