This module links expense records to a project and, optionally, a task, and derives the expense's analytic distribution from that project.
A new Project field is added on expenses (and, restricted to the tasks of that project, a Task field). Selecting a project computes the expense's analytic distribution automatically, so no accounting knowledge is required to allocate an expense to a project.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds Project and Task fields to expenses so you can link an expense to a project and automatically fill in its analytic distribution, without needing accounting knowledge.
This module extends the expense form with two new fields: Project and Task. They appear on the expense screen right after the account field.
When you pick a project on an expense, Odoo automatically computes the expense's analytic distribution from that project. If you remove the project, the analytic distribution is cleared. This means the expense is allocated to the right analytic account without manual entry.
The Task field only shows tasks that belong to the selected project. If you try to save an expense where the task does not belong to the chosen project, Odoo blocks it with a validation error: "The selected task does not belong to the selected project."
On the project itself, a new HR Expenses list is available, showing all expenses linked to that project. This gives project managers a quick view of expenses charged to their project.
The module touches hr.expense and project.project. It depends on project_hr_expense and installs automatically when that module is present.
Depends on
Models and fields (2)
- hr.expense · extends an existing modeltask_id, project_id
- project.project · extends an existing modelhr_expense_ids (HR Expenses)
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/project.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0To use this module, you need to:
- Open an expense.
- Set the Project field: the analytic distribution is filled in automatically from the project's own analytic account(s).
- Optionally set the Task field, restricted to the tasks belonging to the selected project.
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.