Purchase All Shipments

purchase_all_shipments
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_all_shipments
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSRuchir Shukla, Weblate, OCA-git-bot, oca-ci, Franco Leyes
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
With the core "purchase" module, in a purchase order a button "In
Shipments" lets the user see the picking that was generated by the order
itself.

With this module, that button is replaced by an "All Shipments" button
that shows the original picking, and all others that are grouped with
it. This should include pickings associated to the procurements that
generated the purchase, and also pickings that have been chained with
push rules.

This is consistent with the "sale" module, where from the sale order the
user can access the generated delivery and all chained ones.

The implementation uses the procurement group of the moves in the
generated picking. The procurement group is always present in purchases,
also when there is no procurement.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.form purchase.order xpath Inherits purchase_stock.purchase_order_view_form_inherit
Models touched (1)

New fields (2)
  • all_picking_count Integer
    compute='_compute_all_picking_count' args: 'All Pickings Count'
  • all_picking_ids One2many → stock.picking
    compute='_compute_all_pickings' string='All Pickings' args: 'stock.picking'
Public methods (1)
  • action_view_all_pickings(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_all_shipments
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, mav-adhoc
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
With the core "purchase" module, in a purchase order a button "In
Shipments" lets the user see the picking that was generated by the order
itself.

With this module, that button is replaced by an "All Shipments" button
that shows the original picking, and all others that are grouped with
it. This should include pickings associated to the procurements that
generated the purchase, and also pickings that have been chained with
push rules.

This is consistent with the "sale" module, where from the sale order the
user can access the generated delivery and all chained ones.

The implementation uses the procurement group of the moves in the
generated picking. The procurement group is always present in purchases,
also when there is no procurement.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.form purchase.order xpath Inherits purchase_stock.purchase_order_view_form_inherit
Models touched (1)

New fields (2)
  • all_picking_count Integer
    compute='_compute_all_picking_count' args: 'All Pickings Count'
  • all_picking_ids One2many → stock.picking
    compute='_compute_all_pickings' string='All Pickings' args: 'stock.picking'
Public methods (1)
  • action_view_all_pickings(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_all_shipments
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, augusto-weiss, Juan Ignacio Carreras
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.form purchase.order xpath Inherits purchase_stock.purchase_order_view_form_inherit
Models touched (2)

New fields (2)
  • all_picking_count Integer
    compute='_compute_all_picking_count' args: 'All Pickings Count'
  • all_picking_ids One2many → stock.picking
    compute='_compute_all_pickings' string='All Pickings' args: 'stock.picking'
Public methods (1)
  • action_view_all_pickings(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_all_shipments
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSNicolás Mac Rouillon, João Marques, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.form purchase.order xpath Inherits purchase_stock.purchase_order_view_form_inherit
Models touched (1)

New fields (2)
  • all_picking_count Integer
    compute='_compute_all_picking_count' args: 'All Pickings Count'
  • all_picking_ids One2many → stock.picking
    compute='_compute_all_pickings' string='All Pickings' args: 'stock.picking'
Public methods (1)
  • action_view_all_pickings(self)
    Similar to the view_picking method in the purchase module
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_all_shipments
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_2_stock_picking purchase_order_form purchase.order button Inherits purchase.purchase_order_2_stock_picking
Models touched (1)

New fields (2)
  • all_picking_ids One2many → stock.picking
    compute='_all_pickings' string='All Shipments' args: 'stock.picking'
  • all_shipment_count Integer
    compute='_all_shipment_count' args: 'All Shipments'
Public methods (1)
  • view_all_picking(self)
    @api.multi
    Similar to the view_picking method in the purchase module
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/9.0/purchase_all_shipments
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_2_stock_picking purchase_order_form purchase.order button Inherits purchase.purchase_order_2_stock_picking
Models touched (1)

New fields (2)
  • all_picking_ids One2many → stock.picking
    compute='_all_pickings' string='All Shipments' args: 'stock.picking'
  • all_shipment_count Integer
    compute='_all_shipment_count' args: 'All Shipments'
Public methods (1)
  • view_all_picking(self)
    @api.multi
    Similar to the view_picking method in the purchase module
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/8.0/purchase_all_shipments
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchases
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Leonardo Pistone, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_order_2_stock_picking purchase_order_form purchase.order button Inherits purchase.purchase_order_2_stock_picking
Models touched (1)

New fields (2)
  • all_picking_ids One2many → stock.picking
    compute='_all_pickings' string='All Shipments' args: 'stock.picking'
  • all_shipment_count Integer
    compute='_all_shipment_count' args: 'All Shipments'
Public methods (1)
  • view_all_picking(self)
    @api.multi
    Similar to the view_picking method in the purchase module
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/purchase-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] purchase_all_shipments: Migration to 19.0 (#2879)