Repository
OCA/timesheet · module folder · Try on Runboat
Module version
1.1.0
Category
Customer Relationship Management
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/timesheet
Last tracking update
2026-08-07 09:06:28
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
OCA-git-bot, oca-ci, Pablo Cortés
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to generate timesheets from leads/opportunities.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
crm_case_kanban_view_leads Add timesheet time controls to opportunity kanban crm.lead kanban Inherits crm.crm_case_kanban_view_leads
crm_case_tree_view_leads Add timesheet time controls to lead tree crm.lead list Inherits crm.crm_case_tree_view_leads
crm_case_tree_view_oppor Add timesheet time controls to opportunity tree crm.lead list Inherits crm.crm_case_tree_view_oppor
crm_lead_view_form CRM - Leads with timesheets crm.lead form Inherits crm.crm_lead_view_form
crm_team_view_form crm.team.form.inherited crm.team form Inherits sales_team.crm_team_view_form
hr_timesheet_line_form Lead/opportunity in timesheet line form account.analytic.line form Inherits hr_timesheet.hr_timesheet_line_form
hr_timesheet_line_tree Timesheet with lead/opportunity account.analytic.line tree Inherits hr_timesheet.hr_timesheet_line_tree
hr_timesheet_stop_view_form hr.timesheet.stop.form hr.timesheet.stop form New
view_crm_lead_kanban Add timesheet time controls to lead kanban crm.lead kanban Inherits crm.view_crm_lead_kanban
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • lead_id Many2one → crm.lead
    comodel_name='crm.lead' string='Lead/Opportunity'
Public methods (1)
  • button_end_work(self)

New fields (3)
  • project_id Many2one → project.project
    comodel_name='project.project' compute='_compute_project_id' ondelete='restrict' precompute=True readonly=False store=True string='Project'
  • timesheet_ids One2many → account.analytic.line
    comodel_name='account.analytic.line' inverse_name='lead_id' string='Timesheet'
  • total_time_spent Float
    compute='_compute_total_time_spent' help='Total time spent on this lead/opportunity' store=True
Public methods (1)
  • button_start_work(self)

New fields (1)
  • timesheet_project_id Many2one → project.project
    comodel_name='project.project' domain=[('allow_timesheets', '=', True)] help='Default project to use for timesheets in leads of this team.' string='Default Timesheet Project'
Public methods (0)

No public methods.

New fields (2)
  • analytic_line_id Many2one → account.analytic.line
    comodel_name='account.analytic.line' ondelete='cascade' required=True string='Timesheet Line'
  • name Char
    required=True string='Description'
Public methods (1)
  • action_stop(self)

New fields (1)
  • name Char
    required=False
Public methods (1)
  • default_get(self, fields_list)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…