Repository
OCA/project · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/project
Last tracking update
2026-08-24 17:45:46
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Simone Orsi, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_hr_expense_form_inherit hr.expense.form.inherit hr.expense form Inherits hr_expense.hr_expense_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • project_id Many2one → project.project
    args: 'project.project'
  • task_id Many2one → project.task
    domain="[('project_id', '=', project_id)]" args: 'project.task'
Public methods (0)

No public methods.

New fields (1)
  • hr_expense_ids One2many → hr.expense
    string='HR Expenses' args: 'hr.expense', 'project_id'
Public methods (0)

No public methods.