Stock Request Purchase Request
Stock Request Purchase Request
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Links stock requests to purchase requests so you can see, from either document, the related records and jump between them. It also blocks linking records from different companies and cancels related purchase requests when a stock request is cancelled.
This module connects stock requests (internal requests for goods) with purchase requests (requests to buy goods).
On a purchase request form you get a new "Stock Requests" smart button and a "Stock Requests" tab showing the stock requests linked through its lines. The button opens the related stock requests.
On a stock request form a "Purchase Request" smart button shows how many purchase requests are linked and opens them. On a stock request order form a "Purchase Requests" button does the same for all its stock requests.
When Odoo automatically creates a purchase request from a stock rule, the link to the originating stock request is stored, so the relationship is filled in without manual work.
Business rules: you cannot link a purchase request line to a stock request from another company, and you cannot link a stock request to a purchase request line from another company; Odoo raises an error in both cases. When a stock request is cancelled, any linked purchase request that is not done or rejected is automatically rejected too.
The buttons are only visible to users with the relevant stock request or purchase request permissions.
Depends on
Models and fields (5)
- stock.rule · extends an existing model
- stock.request · extends an existing modelpurchase_request_ids (Purchase Requests), purchase_request_count, purchase_request_line_ids (Purchase Request Lines)
- purchase.request · extends an existing modelstock_request_ids (Stock Requests), stock_request_count (Stock Request #)
- stock.request.order · extends an existing modelpurchase_request_ids (Purchase Requests), purchase_request_count, purchase_request_line_ids (Purchase Request Lines)
- purchase.request.line · extends an existing modelstock_request_ids (Stock Requests)
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-03Confirmation 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-warehouse.
terminal Installation and usage
No verified informationInstallation 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.
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.