Repository
OCA/timesheet · module folder · Try on Runboat
Module version
0.2.1
Category
Human Resources
Folder size
0.04 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:17:50
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Acsone SA/NV
Committers
Pedro M. Baeza
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Replace task work items (project.task.work) linked to task with
timesheet lines (hr.analytic.timesheet).

Unless the module project_timesheet, it allows to have only one single
object that handles and records time spent by employees, making more
coherence for the end user. This way, time entered through timesheet
lines or tasks is the same. As long as a timesheet lines has an
associated task, it will compute the related indicators.

Used with the module hr_timesheet_task, it also allows users to complete
task information through the timesheet sheet (hr.timesheet.sheet).
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_hr_timesheet_report_search hr.timesheet.report.search (timesheet_task) hr.timesheet.report search Inherits hr_timesheet.view_hr_timesheet_report_search
view_task_form2 project.task.form project.task form Inherits project.view_task_form2
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (0)

No new fields.

Public methods (3)
  • create(self, cr, uid, vals, context=None)
  • unlink(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, vals, context=None)

New fields (0)

No new fields.

Public methods (2)
  • on_change_account_id(self, account_id, user_id=False)
    @api.multi
    Validate the relation between the project and the task. Task must be belong to the project.
  • on_change_unit_amount(self, cr, uid, sheet_id, prod_id, unit_amount, company_id, unit=False, journal_id=False, task_id=False, to_invoice=False, project_id=False, context=None)

New fields (1)
  • task_id Many2one → project.task
    readonly=True string='Task' args: 'project.task'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, cr, uid, ids, vals, context=None)

Loading…

Loading…

Loading…

Loading…