TIP: You can type at any time to perform a new search.
Stock Picking Volume
stock_picking_volume · OCA/stock-logistics-warehouse
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_move SET volume = CASE WHEN stock_move.state in ('partially_available', 'assigned') THEN stock_move.quantity * pp.volume ELSE stock_move.product_uom_qty * pp.volume END FROM product_product pp WHERE stock_move.state NOT IN ('done', 'cancel') AND pp.id = stock_move.product_id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update stock_picking set volume = ( select sum(volume) from stock_move where stock_move.picking_id = stock_picking.id and state not in ('done', 'cancel') ) where state not in ('done', 'cancel')` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/stock-logistics-warehouse · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-warehouse
- Last tracking update
- 2026-08-07 09:06:24
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, Vicent-S73
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- delivery_carrier_picking_valid
- Description
For some processes, you need to know the volume of your stock transfers. This could be useful for example to know the device to use to process it. An other use case could be to know how many trucks you need to deliver your products. By default, the delivery module from Odoo will compute the transfer weight. Unfortunately, it will not compute the volume. This module will add the volume computation to the stock transfer and to the moves. This information will be stored in the database and will be available on the transfer and move form views.
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_move_form_view |
stock.move.form (in stock_picking_volume) | stock.move | form | Inherits stock.view_move_form |
stock_picking_form_view |
stock.picking.form (in stock_picking_volume) | stock.picking | form | Inherits stock.view_picking_form |
stock_picking_tree_view |
stock.picking.tree (in stock_picking_volume) | stock.picking | tree | Inherits stock.vpicktree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
volumeFloatcompute='_compute_volume'compute_sudo=Truestore=True -
volume_uom_nameCharcompute='_compute_volume_uom_name'string='Volume unit of measure label'
No public methods.
New fields (2)
-
volumeFloatcompute='_compute_volume'compute_sudo=Truestore=True -
volume_uom_nameCharcompute='_compute_volume_uom_name'string='Volume unit of measure label'
No public methods.
Loading…
Loading…
Loading…
Loading…