OdooWiki OCA HUB

Brazilian Localization Repair

l10n_br_repair folder_open OCA/l10n-brazil open_in_new
Localisation License: AGPL-3

This module extends the Odoo Repair module to adapt it to the Brazilian needs. Since Odoo 17.0 the repair order is billed through a sale order: this module sets the fiscal operation of the repair order and carries it to the quotation created from the repair and to the lines of the repair parts, so the Brazilian taxes are computed and the fiscal documents (NF-e, NFS-e and others) are issued by the Brazilian sale localization (l10n_br_sale).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a Fiscal Operation field to repair orders in Brazil, so the quotation and repair parts created from a repair carry the correct fiscal operation and Brazilian taxes are computed.

This module connects the Repair app with the Brazilian fiscal localization. On a repair order you get a new Fiscal Operation field, shown on the repair form right after the customer. It is filled automatically: if the repair already has a linked quotation, it takes that quotation's fiscal operation; otherwise it uses the default repair fiscal operation configured on the company.

On the company form, under the fiscal settings, a new Repair page lets you set the Default Repair Fiscal Operation. The module also pre-configures the main company with a standard sales fiscal operation.

When a quotation is created from a repair order, it automatically receives the repair's fiscal operation instead of the usual default sales one. In the same way, the sale order lines generated for the repair parts also get that fiscal operation, so the Brazilian taxes and CFOP are calculated by the Brazilian sale localization and the fiscal documents can be issued.

Only approved, outgoing fiscal operations that are not refunds can be selected. The field becomes read-only once the repair is linked to a quotation or is done or cancelled.

It touches the repair order, company, quotation and stock move records.

Depends on

Models and fields (4)
  • sale.order · extends an existing model
  • stock.move · extends an existing model
  • res.company · extends an existing modelrepair_fiscal_operation_id (Default Repair Fiscal Operation)
  • repair.order · extends an existing modelfiscal_operation_id (Fiscal Operation)

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 18.0

This module depends on:

  • repair
  • l10n_br_sale

To configure this module, you need to:

  • Go to Settings -\> Users & Companies -\> Companies
  • Select or create a company and go to Fiscal -\> Repair
  • Set the default Fiscal Operation for repairs.

To use this module, you need to:

  • Go to Repair
  • Create or select a Repair Order and check its Fiscal Operation (the default one comes from the company)
  • Add the parts and click on Create Quotation: the quotation and the lines of the parts get the fiscal operation, the CFOP and the Brazilian taxes
  • Add the services (labor) to the quotation and confirm it
  • Finish the repair and create the invoices from the sale order: one fiscal document is created for each document type (for instance a NF-e for the parts and a NFS-e for the services)

A repair order created by a sale order follows the fiscal operation of that sale order.

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.