Stock picking reallocation
stock_picking_reallocation · OCA/stock-logistics-workflow
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 48 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.12 MB
Module directory on disk
Code analysis
2 migration notes
3 models
2 views
0 HTTP endpoints
Migration considerations
stock_picking_reallocation_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_picking_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_picking_reallocation_form |
stock.picking.reallocation.form | stock.picking.reallocation | form | New |
view_picking_form |
stock.picking | form | Inherits stock.view_picking_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
current_reallocation_idMany2one → stock.picking.reallocationcompute='_compute_current_reallocation_id' args: 'stock.picking.reallocation' -
reallocation_idsOne2many → stock.picking.reallocationargs: 'stock.picking.reallocation', 'picking_id', 'Reallocations'
-
action_confirm(self) -
reallocate(self)
New fields (11)
-
demandFloatrelated='move_id.product_uom_qty'string='Demand' -
editedBooleandefault=Falsestring='Edited' -
move_idMany2one → stock.moveargs: 'stock.move', 'Move' -
product_nameCharrelated='move_id.product_id.name'string='Product' -
quantity_1Floatargs: 'Date 1' -
quantity_2Floatargs: 'Date 2' -
quantity_3Floatargs: 'Date 3' -
quantity_4Floatargs: 'Date 4' -
quantity_5Floatargs: 'Date 5' -
reallocation_idMany2one → stock.picking.reallocationargs: 'stock.picking.reallocation', 'Reallocation' -
unchangedBooleandefault=Falsestring='Unchanged'
-
onchange_quantity_1(self)@api.onchange('quantity_1') -
onchange_quantity_2(self)@api.onchange('quantity_2') -
onchange_quantity_3(self)@api.onchange('quantity_3') -
onchange_quantity_4(self)@api.onchange('quantity_4') -
onchange_quantity_5(self)@api.onchange('quantity_5')
New fields (9)
-
allocation_idsOne2many → stock.picking.allocationdefault=<expr> args: 'stock.picking.allocation', 'reallocation_id', 'Allocations' -
date_1Datetimedefault=<expr>required=Truestring='Date 1' -
date_2Datetimerequired=Truestring='Date 2' -
date_3Datetimestring='Date 3' -
date_4Datetimestring='Date 4' -
date_5Datetimestring='Date 5' -
nameChardefault=<expr>required=Truestring='Name' -
picking_idMany2one → stock.pickingargs: 'stock.picking', 'Initial Picking' -
stateSelectioncopy=Falsedefault='draft'index=Truereadonly=Truestring='Status' args: [('draft', 'Draft'), ('done', 'Done'), ('cancel', 'Cancelled')]
-
cancel(self) -
onchange_date_3(self)@api.onchange('date_3') -
onchange_date_4(self)@api.onchange('date_4') -
onchange_date_5(self)@api.onchange('date_5') -
reallocate(self)