Repair Quotation Manual Sync
repair_quotation_manual_sync · OCA/repair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module makes the synchronization between a repair order and its quotation an explicit action instead of an automatic one. In standard Odoo every part added to or changed on a repair order is pushed to the linked quotation straight away; here the quotation only changes when a user asks for it, and each part carries an Invoiceable flag that decides whether it reaches the quotation at all. Whenever the two documents drift apart, a banner on the quotation reports it and offers a Synchronize Lines button that brings the quotation in line with the repair order. Synchronization applies to quotations that are still a draft or have been sent; the lines of the quotation created from the repair order itself are filled in automatically.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
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.
-
needs_repair_syncBooleancompute='_compute_needs_repair_sync'
-
action_sync_repair_lines(self)
-
is_repair_sale_confirmedBooleancompute='_compute_is_repair_sale_confirmed' -
repair_create_syncBooleancompute='_compute_sync_flags' -
repair_invoiceableBooleandefault=Truehelp='Check this box if the product is billable. Only invoiceable products will be included in the quotation.' args: 'Invoiceable' -
repair_update_syncBooleancompute='_compute_sync_flags'
-
write(self, vals)
Loading…