Quality Control - Timesheet (OCA)

quality_control_oca_timesheet
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/17.0/quality_control_oca_timesheet
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYQuality Control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Patryk Pyczko
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - hr_timesheet
    - hr
    - phone_validation
    - resource
    - hr_hourly_cost
    - analytic
    - project
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - rating
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_tree_view_timesheet_inherit qc.inspection.tree.view.timesheet.inherit qc.inspection xpath Inherits quality_control_oca.qc_inspection_tree_view
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.