Purchase Request Department
This module adds the user department in a new field in the purchase request form and allows to group by department on the tree view.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a Department field to purchase requests and their lines, filled automatically from the requester's employee department, and lets you group and filter requests by department.
This module links purchase requests to the HR department of the person who asks for them, so you can see and analyse purchasing by department.
- On a purchase request, a new Department field appears next to the requester. It is filled automatically with the department of the logged-in user's employee record when the request is created, and it updates automatically when you change the requester.
- On the request form, the Department field can only be changed while the request is still in draft; once it moves forward it becomes read-only.
- The same Department information is shown on each request line, taken from the parent request, and is read-only there too.
- In the list and search views of both purchase requests and request lines, you can see the Department column and use a Department filter to group records by department.
- When the module is installed, existing purchase requests are updated so their department is set from their requester.
The module works together with the HR and Purchase Request apps and touches the purchase.request and purchase.request.line models.
Depends on
Required by other modules
Models and fields (2)
- purchase.request · extends an existing modeldepartment_id (Department)
- purchase.request.line · extends an existing modeldepartment_id (Department)
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-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0When editing the 'purchase request' form and choosing the 'requested_by' field the requester's department will be automatically set.
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.