OdooWiki OCA HUB

Stock Picking Type Grn Mandatory

stock_picking_grn_mandatory folder_open OCA/stock-logistics-workflow open_in_new
Uncategorised License: AGPL-3

This module allows to require a GRN (Goods Receive Note) in some picking flows according to the configuration set on the corresponding Operation Type.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you make a Goods Received Note (GRN) compulsory for certain operation types, so users cannot validate those transfers until a GRN is linked.

This module adds a simple switch to Odoo's operation types (the configuration behind each type of transfer, such as receipts or deliveries). On the operation type form, a new section called "GRN (Mandatory)" contains the checkbox is_grn_mandatory. When you tick it, every transfer of that type must be linked to a Goods Received Note before it can be completed.

  • The check runs both when the user clicks the Validate button and when the transfer is finished automatically, so the rule cannot be bypassed.
  • If a transfer of a mandatory type has no GRN, Odoo stops the action and shows the message "The picking must be linked to a Goods Received Note".
  • The rule only applies to transfers whose operation type has the checkbox enabled; other operation types keep working as before.
  • The GRN field itself comes from the stock_grn module this module depends on.

The change is visible in the Inventory configuration screens for operation types, and it affects the validation of stock.picking records. No new menus or reports are added.

Depends on

Models and fields (2)
  • stock.picking · extends an existing model
  • stock.picking.type · extends an existing modelis_grn_mandatory

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Go to Inventory > Configuration > Warehouse Management > Operation Types
  • Select the one you want to require the GRN and check the 'Is GRN Mandatory' box.

After having configured the Operation Type to activate the feature, create a Stock Picking and do the move operations, then, if you try to validate the picking without filling in the GRN, an error is raised.

No verified information in OCA: Installation.

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.