Stock Exception

stock_exception
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_exception
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Warehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Murtaza Mithaiwala
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_exception
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.)

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_picking_form stock_exception.view_picking_form stock.picking sheet Inherits stock.view_picking_form
view_picking_internal_search stock_exception.view_picking_internal_search stock.picking filter Inherits stock.view_picking_internal_search
vpicktree stock_exception.vpicktree stock.picking field Inherits stock.vpicktree
Models touched (4)

New fields (2)
  • model Selection
    ondelete={'stock.picking': 'cascade', 'stock.move': 'cascade'} selection_add=[('stock.picking', 'Stock Picking'), ('stock.move', 'Stock Move')]
  • picking_ids Many2many → stock.picking
    comodel_name='stock.picking' string='Pickings'
Public methods (0)

No public methods.

New fields (1)
  • related_model_id Many2one → stock.picking
    args: 'stock.picking', 'Stock Picking'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • ignore_exception Boolean
    related='picking_id.ignore_exception' store=True string='Ignore Exceptions'
Public methods (0)

No public methods.

New fields (0)

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
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_exception
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYGeneric Modules/Warehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, CristianoMafraJunior, mav-adhoc
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_exception
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_picking_form stock_exception.view_picking_form stock.picking sheet Inherits stock.view_picking_form
view_picking_internal_search stock_exception.view_picking_internal_search stock.picking filter Inherits stock.view_picking_internal_search
vpicktree stock_exception.vpicktree stock.picking field Inherits stock.vpicktree
Models touched (4)

New fields (2)
  • model Selection
    ondelete={'stock.picking': 'cascade', 'stock.move': 'cascade'} selection_add=[('stock.picking', 'Stock Picking'), ('stock.move', 'Stock Move')]
  • picking_ids Many2many → stock.picking
    comodel_name='stock.picking' string='Pickings'
Public methods (0)

No public methods.

New fields (1)
  • related_model_id Many2one → stock.picking
    args: 'stock.picking', 'Stock Picking'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • ignore_exception Boolean
    related='picking_id.ignore_exception' store=True string='Ignore Exceptions'
Public methods (0)

No public methods.

New fields (0)

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
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_exception
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYGeneric Modules/Warehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, newtratip, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_exception
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_picking_form stock_exception.view_picking_form stock.picking sheet Inherits stock.view_picking_form
view_picking_internal_search stock_exception.view_picking_internal_search stock.picking filter Inherits stock.view_picking_internal_search
vpicktree stock_exception.vpicktree stock.picking field Inherits stock.vpicktree
Models touched (4)

New fields (2)
  • model Selection
    ondelete={'stock.picking': 'cascade', 'stock.move': 'cascade'} selection_add=[('stock.picking', 'Stock Picking'), ('stock.move', 'Stock Move')]
  • picking_ids Many2many → stock.picking
    comodel_name='stock.picking' string='Pickings'
Public methods (0)

No public methods.

New fields (1)
  • related_model_id Many2one → stock.picking
    args: 'stock.picking', 'Stock Picking'
Public methods (1)
  • action_confirm(self)

New fields (1)
  • ignore_exception Boolean
    related='picking_id.ignore_exception' store=True string='Ignore Exceptions'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (5)
  • action_confirm(self)
  • detect_exceptions(self)
  • onchange_ignore_exception(self)
    @api.onchange('move_lines')
  • stock_check_exception(self)
    @api.constrains('ignore_exception', 'move_lines', 'state')
  • test_all_draft_pickings(self)
    @api.model
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST[MIG] stock_exception: Migration to 18.0 (#2358)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] stock_exception (#2185)