Repository
OCA/repair · module folder · Try on Runboat
Module version
1.0.0
Category
Repair
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/repair
Last tracking update
2026-08-10 23:10:55
Authors
Odoo Community Association (OCA), Escodoo
Maintainers
Odoo Community Association (OCA), Escodoo
Committers
OCA-git-bot, oca-ci, kaynnan
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends **Repair Analytic** to include timesheet costs
in the analytic distribution calculation when a repair order is completed.

When a project has **Spread Timesheet Cost on Repair** enabled, the labor costs
from timesheets linked to that project will be distributed across the repair
order's analytic accounts according to its configured analytic distribution.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_project_form_inherit_repair_analytic project.project.form.inherit.repair.analytic project.project form Inherits project.edit_project
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • spread_timesheet_cost_on_repair Boolean
    help='When enabled, timesheet costs from this project will be included in the analytic distribution when the linked repair order is completed.' string='Spread Timesheet Cost on Repair'
Public methods (0)

No public methods.

New fields (1)
  • timesheet_ids One2many
    domain=[('project_id', '!=', False)]
Public methods (1)
  • action_view_analytic_lines(self)

New fields (1)
  • repair_order_id Many2one → repair.order
    readonly=True string='Repair Order' args: 'repair.order'
Public methods (0)

No public methods.