Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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 (1)
  • write(self, vals)

Loading…