Repository
OCA/repair · module folder · Try on Runboat
Module version
1.0.1
Category
Repair
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/repair
Last tracking update
2026-08-07 08:23:13
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, Andreu Orensanz
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module introduces synchronization logic between Repair Orders and the related Quotations.


1. Adds an "Invoiceable" checkbox on lines of a repair order to determine which products are billable.
2. Only lines marked as "Invoiceable" are included when creating the quotation.
3. Any changes in the Repair Order will trigger a banner in the quotation if there is a mismatch.
4. An "Synchronize Lines" button in the banner allows syncing the quotation lines with the lines indicated  as "Invoiceable" in the repair order.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_order_form_repair_sync_banner sale.order.form - repair_quotation_manual_sync sale.order form Inherits sale.view_order_form
view_repair_order_form_inherit_invoiceable_column repair.order.form - repair_quotation_manual_sync repair.order form Inherits repair.view_repair_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • action_create_sale_order(self)
    Context flag so that repair lines are automatically synced as sale order lines when creating the SO from the Repair Order.

New fields (1)
  • needs_repair_sync Boolean
    compute='_compute_needs_repair_sync'
Public methods (1)
  • action_sync_repair_lines(self)

New fields (4)
  • is_repair_sale_confirmed Boolean
    compute='_compute_is_repair_sale_confirmed'
  • repair_create_sync Boolean
    compute='_compute_sync_flags'
  • repair_invoiceable Boolean
    default=True help='Check this box if the product is billable. Only invoiceable products will be included in the quotation.' args: 'Invoiceable'
  • repair_update_sync Boolean
    compute='_compute_sync_flags'
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
45 days ago
Last activity
0 days ago
Repository
OCA/repair
Pull request
[19.0][MIG] repair_quotation_manual_sync: Migration to 19.0 (#176)