Stock Picking Origin State

stock_picking_origin_state
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_origin_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Andreu Orensanz
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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 adds two computed fields on `stock.picking` that summarize the
state of the most upstream not-done origin pickings:

- `origin_state`: aggregated state across the origin pickings at the deepest
  level still active (`waiting`, `partially_available`, `assigned` or `done`).
- `origin_state_label`: a display string combining the origin operation type
  name and the translated state label

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
vpicktree stock.picking.tree - stock_picking_origin_state stock.picking field Inherits stock.vpicktree
Models touched (1)

New fields (2)
  • origin_state Selection
    compute='_compute_origin_state' help='Aggregated state of the origin pickings. Reports the deepest level still active; once every origin picking is done, reports the closest origin as Done. Empty only when the picking has no origin pickings.' selection=[('waiting', 'Waiting'), ('partially_available', 'Partially Available'), ('assigned', 'Ready'), ('done', 'Done')]
  • origin_state_label Char
    compute='_compute_origin_state' help='Display string combining Origin Operation Type and Origin State'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
PULL REQUEST
PULL REQUEST[18.0][MIG] stock_picking_origin_state (#2381)