OdooWiki OCA HUB

Stock Picking - restrict cancelation if printed

stock_picking_restrict_cancel_printed folder_open OCA/stock-logistics-workflow open_in_new
Inventory License: AGPL-3

Display the printed flag on the form view of the transfer. Raise an error when canceling a printed stock transfer: You cannot cancel a transfer that is already printed. The restriction for canceling a printed transfer can be disabled with the field Restrict cancelation if printed on the transfer type.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Prevents users from cancelling a stock transfer that has already been printed, unless the operation type allows it. Adds a setting on operation types and shows the printed flag on transfers.

This module adds a safety rule to Inventory: once a stock transfer has been printed, it can no longer be cancelled by mistake.

  • On each operation type (for example Delivery Orders, Receipts, Internal Transfers) a new option "Restrict cancelation if printed" appears. It is turned on by default, so the protection is active out of the box.
  • On the transfer form, the "Printed" indicator is now visible in the other information section, so users can see whether a transfer has already been printed.
  • If someone tries to cancel a printed transfer whose operation type still has the restriction enabled, Odoo blocks the action and shows the message "You cannot cancel a transfer that is already printed."
  • The check also applies to the individual stock moves inside the transfer, so cancelling moves directly is blocked in the same situation.
  • Two exceptions are built in: cancelling a backorder, and internal operations such as merging moves, are allowed to proceed without triggering the block.

It touches the stock.picking, stock.move and stock.picking.type models and adds fields to the transfer and operation type forms.

Depends on

stock
Models and fields (3)
  • stock.move · extends an existing model
  • stock.picking · extends an existing model
  • stock.picking.type · extends an existing modelrestrict_cancel_if_printed (Restrict cancelation if printed)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.