Stock Exception
stock_exception · OCA/stock-logistics-warehouse
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
ir_cron_test_stock_picking_except— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · 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
This module allows you attach several customizable exceptions to your stock picking in a way that you can filter pickings by exceptions type and fix them. Exceptions are checked via a scheduled action as well as during confirmation and validation.
This is especially useful in an scenario for mass stock picking import, because it's likely some pickings have errors when you import them (like product not found in Odoo, wrong line format etc.)
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_picking_form |
stock_exception.view_picking_form | stock.picking | form | Inherits stock.view_picking_form |
view_picking_internal_search |
stock_exception.view_picking_internal_search | stock.picking | search | Inherits stock.view_picking_internal_search |
vpicktree |
stock_exception.vpicktree | stock.picking | Inherits stock.vpicktree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
modelSelectionondelete={'stock.picking': 'cascade', 'stock.move': 'cascade'}selection_add=[('stock.picking', 'Stock Picking'), ('stock.move', 'Stock Move')] -
picking_idsMany2many → stock.pickingcomodel_name='stock.picking'string='Pickings'
No public methods.
-
related_model_idMany2one → stock.pickingargs: 'stock.picking', 'Stock Picking'
-
action_confirm(self)
-
ignore_exceptionBooleanrelated='picking_id.ignore_exception'store=Truestring='Ignore Exceptions'
No public methods.
No new fields.
Public methods (6)-
action_confirm(self) -
button_validate(self) -
detect_exceptions(self) -
onchange_ignore_exception(self)@api.onchange('move_ids') -
stock_check_exception(self)@api.constrains('ignore_exception', 'move_ids', 'state') -
test_all_draft_pickings(self)@api.model
Loading…
Loading…
Loading…