Stock Packaging Qty
stock_move_packaging_qty · OCA/stock-logistics-warehouse
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by20/253 modules depend on it
-
Maturity25/25In 4 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
1 migration note
3 models
11 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_move_line SET product_packaging_quantity = data.product_packaging_qty FROM json_to_recordset(%s) AS data ( id INT, product_packaging_qty FLOAT ) WHERE stock_move_line.id = data.id;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Add packaging fields in the stock moves, their lines and their reports.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_invoice_report_stock_packaging, mrp_packaging_default, stock_picking_batch_packaging_qty
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_picking |
report_picking | ir.ui.view | qweb | Inherits stock.report_picking |
stock_picking_view_form_packaging |
stock.picking.form | stock.picking | form | Inherits stock.view_picking_form |
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_move_form |
stock.move.form | stock.move | form | Inherits stock.view_move_form |
view_move_line_form |
Add product packaging qty done info | stock.move.line | form | Inherits stock.view_move_line_form |
view_move_line_tree_detailed |
Add product packaging qty done info | stock.move.line | tree | Inherits stock.view_move_line_tree_detailed |
view_picking_move_tree |
stock.picking.move.list | stock.move | list | Inherits stock.view_picking_move_tree |
view_picking_type_form |
stock.picking.type.form | stock.picking.type | form | Inherits stock.view_picking_type_form |
view_stock_move_line_detailed_operation_tree |
Add product packaging qty done info | stock.move.line | tree | Inherits stock.view_stock_move_line_detailed_operation_tree |
view_stock_move_line_operation_tree |
Add product packaging qty done info | stock.move.line | tree | Inherits stock.view_stock_move_line_operation_tree |
view_stock_move_operations |
Add product packaging qty info | stock.move | Inherits stock.view_stock_move_operations |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
product_packaging_quantityFloatdepends=('product_uom', 'product_packaging_id', 'move_line_ids.product_packaging_quantity')inverse='_inverse_product_packaging_quantity'
No public methods.
New fields (2)
-
product_packaging_idMany2onereadonly=Truerelated='move_id.product_packaging_id' -
product_packaging_quantityFloatcompute='_compute_product_packaging_quantity'help='Quantity done in Product Packaging'readonly=Falsestore=Truestring='Done Packaging Quantity'
No public methods.
New fields (1)
-
automatic_done_packaging_calculationBooleandefault=Truehelp='The system calculates Done Packaging Automatically on Stock Move Lines.\nDisable this to prevent automatic calculation.'string='Automatically Calculate Done Packaging Quantity'
No public methods.
Loading…
Loading…
Loading…