Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Quality Control
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/manufacture
Last tracking update
2026-08-07 08:22:59
Authors
Odoo Community Association (OCA), APSL-Nagarro
Maintainers
Odoo Community Association (OCA), APSL-Nagarro
Committers
Weblate, OCA-git-bot, oca-ci, Patryk Pyczko
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module integrates timesheet tracking with quality control inspections. It adds a "Timesheets" tab to the quality control inspection form, allowing users to log and track the time spent on each inspection through timesheet entries. Users can record detailed timesheet data, such as the project, task, date, and duration for each inspection. Additionally, the module automatically calculates the total hours spent on inspections and displays this information in both the form view and the list view of quality control inspections.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
qc_inspection_form_view_timesheet_inherit qc.inspection.form.view.timesheet qc.inspection form Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_tree_view_timesheet_inherit qc.inspection.tree.view.timesheet.inherit qc.inspection tree Inherits quality_control_oca.qc_inspection_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • qc_inspection_id Many2one → qc.inspection
    help='The quality control inspection related to this timesheet entry.' string='Related QC Inspection' args: 'qc.inspection'
Public methods (0)

No public methods.

New fields (2)
  • timesheet_ids One2many → account.analytic.line
    string='Timesheets' args: 'account.analytic.line', 'qc_inspection_id'
  • timesheet_total_hours Float
    compute='_compute_timesheet_total_hours' help='Total hours spent on this quality control inspection.' store=True string='Total Hours'
Public methods (0)

No public methods.