OdooWiki OCA HUB

Repair Analytic

repair_analytic folder_open OCA/repair open_in_new
Repair License: AGPL-3

Adds analytic distribution to repair orders.

When a repair is completed, analytic journal entries are automatically created for each part move, using the configured price type (sale price or cost) with the following sign convention:

  • Added parts → negative amount (cost)
  • Removed parts → positive amount (recovery)
  • Recycled parts → positive amount (recovery)

Entries are deleted on cancel or when the repair order is removed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you attach analytic accounts to repair orders and automatically posts analytic journal entries when a repair is completed, based on the parts added, removed or recycled.

This module connects repair orders with analytic accounting. On the repair order form you get an Analytic Distribution field (visible to users with analytic accounting rights) where you can split the repair across one or more analytic accounts and percentages. The field becomes read-only once the repair is done or cancelled.

When the repair is marked as done, the system automatically creates analytic journal entries for every completed part line, using the price type configured on the repair operation type (Price or Cost). The sign follows the part type: added parts are recorded as a negative amount (cost consumed), while removed and recycled parts are recorded as a positive amount (recovery). Entries are removed when the repair is cancelled or deleted.

A smart button on the repair order shows how many analytic lines exist and opens the filtered list. Analytic lines now carry a Repair Order link, which is also available in the analytic line form, list and search views, including filters and grouping by repair order.

On the repair operation type you can choose whether the analytic value is based on the sale price or the product cost. The Parts list on the repair order also shows read-only Price and Cost columns.

Depends on

repairanalytic

Required by other modules

Models and fields (5)
  • stock.move · extends an existing modelcost (Cost), company_currency_id (Company Currency)
  • repair.order · new modelanalytic_line_count (Analytic Lines)
  • stock.picking.type · extends an existing modelanalytic_price_type
  • account.analytic.line · extends an existing modelrepair_order_id (Repair Order)
  • account.analytic.applicability · extends an existing modelbusiness_domain

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Inventory → Configuration → Operation Types and open a Repair operation type. In the Analytic section, set Analytic Price Type to Price (uses sale price) or Cost (uses product cost).
  • Open a repair order and set the Analytic Distribution field (visible only for users with analytic accounting enabled).
  • Add parts (Added, Removed or Recycled), start and complete the repair. Analytic journal entries are created automatically and accessible via the Analytic Lines smart button.
  • Cancelling or deleting the repair order removes all linked analytic entries.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.