This module allows for users to be able to display purchase orders that have been created as a consequence of Stock Requests.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Links stock requests to the purchase orders created to fulfil them, so users can see from a purchase order which stock requests it covers, and from a stock request which purchase orders were raised. It also keeps both sides in sync when lines are deleted or requests cancelled.
This module connects internal stock requests with the purchase orders generated to supply them, so the two documents are no longer disconnected.
On a purchase order you get a new "Stock Requests" button in the top button box showing how many stock requests are linked; clicking it opens those requests. Inside each order line there is also a "Stock Requests" page listing the requests behind that line.
On a stock request and on a stock request order you get a "Purchase" button showing how many purchase orders were created for it; clicking it opens the purchase orders (or the single one directly).
Business rules added by the code: - A purchase order line cannot be linked to a stock request belonging to another company, and a stock request cannot be linked to a purchase order line from another company; an error is raised. - If a purchase order line is deleted, the related stock requests are automatically cancelled, so they do not stay open forever. - When a stock request is cancelled, its draft/sent purchase orders are cancelled too. - When purchase order lines are created from a stock request, the link is filled in automatically, and the resulting stock moves carry the request as an allocation.
These buttons are only visible to stock request users and purchase users respectively.
Depends on
Models and fields (4)
- stock.request · extends an existing modelpurchase_ids (Purchase Orders), purchase_count, purchase_line_ids (Purchase Order Lines)
- purchase.order · extends an existing modelstock_request_ids (Stock Requests), stock_request_count (Stock Request #)
- purchase.order.line · extends an existing modelstock_request_ids (Stock Requests)
- stock.request.order · extends an existing modelpurchase_ids (Purchase Orders), purchase_count, purchase_line_ids (Purchase Order Lines)
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/stock-logistics-request.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0In case that the confirmation of the Stock Request results in an immediate Purchase Order, the user will be able to display the PO's from the Stock Request form view.
No verified information in OCA: Installation, Configuration.
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.
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.