Repository
OCA/repair · module folder · Try on Runboat
Module version
1.0.0
Category
Repair
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/repair
Last tracking update
2026-08-07 08:43:05
Authors
Odoo Community Association (OCA), Antoni Marroig
Maintainers
Odoo Community Association (OCA), Antoni Marroig
Committers
LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to create quality control inspections from repair orders.
One repair order can be linked to many different inspections.

The related inspections can be created either on the confirmation of the repair
order, or when it is done. The creation can be executed manually or
automatically. Both of these aspects are configurable at a company level.

Moreover, you can configure trigger lines at a Product, Product Template or
Product Category level (using the 'Repair' trigger) to set the QC Test to use
when creating the inspections.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.repair res.config.settings form Inherits base_repair_config.res_config_settings_view_form
view_qc_inspection_form_inherit qc.inspection.form.inherit qc.inspection form Inherits quality_control_oca.qc_inspection_form_view
view_repair_order_form_inherit repair.order.form.inherit repair.order form Inherits repair.view_repair_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • repair_id Many2one → repair.order
    comodel_name='repair.order' compute='_compute_repair_id' store=True
Public methods (2)
  • action_view_qc_repair_order(self)
  • object_selection_values(self)

New fields (4)
  • auto_generate_qc_inspection Boolean
    related='company_id.repair_auto_generate_qc_inspection'
  • generate_qc_inspection_state Selection
    related='company_id.repair_generate_qc_inspection_state'
  • inspection_ids One2many → qc.inspection
    args: 'qc.inspection', 'repair_id', 'Inspections'
  • show_button_create_qc_inspection Boolean
    compute='_compute_show_button_create_qc_inspection'
Public methods (6)
  • action_create_qc_inspection(self)
  • action_repair_cancel(self)
  • action_repair_done(self)
  • action_validate(self)
  • action_view_repair_inspections(self)
  • create_qc_inspection(self)

New fields (2)
  • repair_auto_generate_qc_inspection Boolean
    help='If checked, QC Inspections will be automatically created for Repair Order, on state changes.' string='Auto-generate QC Inspection'
  • repair_generate_qc_inspection_state Selection
    default='done' help='This field allows you to select the state of the Repair Order in which the QC Inspection will be generated.' required=True string='Generate QC Inspection State' args: [('confirmed', 'On Confirm'), ('done', 'On Done')]
Public methods (0)

No public methods.

New fields (2)
  • repair_auto_generate_qc_inspection Boolean
    readonly=False related='company_id.repair_auto_generate_qc_inspection'
  • repair_generate_qc_inspection_state Selection
    readonly=False related='company_id.repair_generate_qc_inspection_state'
Public methods (0)

No public methods.

Loading…

Loading…