Brazilian Localization Repair

l10n_br_repair
REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_repair
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalisation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Escodoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Escodoo
COMMITTERS
COMMITTERSRaphaël Valyi, Luis Felipe Miléo, Weblate, OCA-git-bot, Magno Costa, oca-ci, Marcel Savegnago, Antônio Neto, Felipe Motter
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - stock_picking_invoicing
OCA/account-payment:
    - account_due_list
OCA/l10n-brazil:
    - l10n_br_stock_account
    - l10n_br_stock
    - l10n_br_base
    - l10n_br_account
    - l10n_br_coa
    - l10n_br_fiscal
    - l10n_br_account_due_list
OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - repair
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - sale_management
    - sale
    - sales_team
    - payment
    - account
    - analytic
    - utm
    - stock_account
    - sale_stock
    - base_address_city
    - base_address_extended
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES email-validator
erpbrasil.base
num2words
phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
repair_fee_form_view repair.fee.form (in l10n_br_repair) repair.order xpath Inherits repair.view_repair_order_form
repair_line_form_view repair.line.form (in l10n_br_repair) repair.order xpath Inherits repair.view_repair_order_form
repair_order_form_view repair.order.form (in l10n_br_repair) repair.order button Inherits repair.view_repair_order_form
report_repair_order report_repair_order ir.ui.view qweb Inherits repair.report_repairorder
res_company_form_view res.company.form (in l10n_br_repair) res.company xpath Inherits l10n_br_fiscal.fiscal_res_company_form
Models touched (6)

New fields (5)
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr>
  • fiscal_operation_type Selection
    string='Fiscal Operation Type'
  • price_gross Monetary
    compute='_compute_price_subtotal' default=0.0 string='Gross Amount'
  • price_subtotal Float
    compute='_compute_price_subtotal' digits='Product Price' args: 'Subtotal'
  • price_total Monetary
    compute='_compute_price_subtotal' default=0.0
Public methods (0)

No public methods.

New fields (10)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_fee_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_fee_comment_rel' string='Comments'
  • company_id Many2one
    related='repair_id.company_id' store=True
  • fiscal_tax_ids Many2many → l10n_br_fiscal.tax
    column1='document_id' column2='fiscal_tax_id' comodel_name='l10n_br_fiscal.tax' relation='fiscal_repair_fee_tax_rel' string='Fiscal Taxes'
  • ind_final Selection
    related='repair_id.ind_final'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' related='repair_id.partner_id' string='Partner'
  • price_gross Monetary
    compute_sudo=True
  • price_subtotal Monetary
    compute_sudo=True
  • quantity Float
    depends=['product_uom_qty'] related='product_uom_qty' args: 'Part Quantity'
  • tax_framework Selection
    related='repair_id.company_id.tax_framework' string='Tax Framework'
  • uom_id Many2one
    depends=['product_uom'] related='product_uom'
Public methods (0)

No public methods.

New fields (10)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_line_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_line_comment_rel' string='Comments'
  • company_id Many2one
    related='repair_id.company_id' store=True
  • fiscal_tax_ids Many2many → l10n_br_fiscal.tax
    column1='document_id' column2='fiscal_tax_id' comodel_name='l10n_br_fiscal.tax' relation='fiscal_repair_line_tax_rel' string='Fiscal Taxes'
  • ind_final Selection
    related='repair_id.ind_final'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' related='repair_id.partner_id' string='Partner'
  • price_gross Monetary
    compute_sudo=True
  • price_subtotal Monetary
    compute_sudo=True
  • quantity Float
    depends=['product_uom_qty'] related='product_uom_qty' args: 'Part Quantity'
  • tax_framework Selection
    related='repair_id.company_id.tax_framework' string='Tax Framework'
  • uom_id Many2one
    depends=['product_uom'] related='product_uom'
Public methods (0)

No public methods.

New fields (12)
  • client_order_ref Char
    copy=False string='Customer Reference'
  • cnpj_cpf Char
    related='partner_id.cnpj_cpf' string='CNPJ/CPF'
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_order_comment_rel' string='Comments'
  • copy_repair_quotation_notes Boolean
    default=_default_copy_note string='Copiar Observação no documentos fiscal'
  • fiscal_document_count Integer
    readonly=True related='invoice_count' string='Fiscal Document Count'
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr> readonly=True states={'draft': [('readonly', False)]}
  • ie Char
    related='partner_id.inscr_est' string='State Tax Number/RG'
  • ind_pres Selection
    readonly=True states={'draft': [('readonly', False)]}
  • invoice_count Integer
    compute='_compute_get_invoiced' readonly=True
  • invoice_ids Many2many → account.move
    compute='_compute_get_invoiced' copy=False readonly=True string='Invoices' args: 'account.move'
  • legal_name Char
    related='partner_id.legal_name' string='Legal Name'
  • operation_name Char
    copy=False
Public methods (2)
  • action_created_invoice(self)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model

New fields (2)
  • copy_repair_quotation_notes Boolean
    default=False string='Copy Repair quotation notes on invoice'
  • repair_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' string='Operação Fiscal Padrão de Reparos'
Public methods (0)

No public methods.

New fields (1)
  • copy_repair_quotation_notes Boolean
    readonly=False related='company_id.copy_repair_quotation_notes' string='Copy repair quotation notes in Fiscal documents'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/12.0/l10n_br_repair
VERSION
VERSION 9.0.0
CATEGORY
CATEGORYLocalisation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Escodoo
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Escodoo
COMMITTERS
COMMITTERSRaphaël Valyi, Renato Lima, Luis Felipe Mileo, OCA Transbot, oca-travis, OCA-git-bot, Gabriel Cardoso de Faria, Marcel Savegnago, felipemotter
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - stock_picking_invoicing
OCA/account-payment:
    - account_due_list
OCA/l10n-brazil:
    - l10n_br_stock_account
    - l10n_br_stock
    - l10n_br_base
    - l10n_br_account
    - l10n_br_coa
    - l10n_br_fiscal
    - l10n_br_account_due_list
OCA/manufacture:
    - repair_payment_term
OCA/stock-logistics-workflow:
    - stock_picking_invoice_link
odoo/odoo:
    - repair
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - sale_management
    - sale
    - sales_team
    - payment
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - stock_account
    - sale_stock
    - base_address_city
    - base_address_extended
    - account_cancel
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
num2words
erpbrasil.assinatura
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
repair_fee_form_view repair.fee.form (in l10n_br_repair) repair.order xpath Inherits repair.view_repair_order_form
repair_line_form_view repair.line.form (in l10n_br_repair) repair.order xpath Inherits repair.view_repair_order_form
repair_order_form_view repair.order.form (in l10n_br_repair) repair.order button Inherits repair.view_repair_order_form
report_repair_order report_repair_order ir.ui.view qweb Inherits repair.report_repairorder
res_company_form_view res.company.form (in l10n_br_repair) res.company xpath Inherits l10n_br_fiscal.fiscal_res_company_form
Models touched (6)

New fields (5)
  • discount Float
    string='Discount (%)'
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr>
  • price_gross Monetary
    compute='_compute_price_subtotal' default=0.0 string='Gross Amount'
  • price_subtotal Float
    compute='_compute_price_subtotal' digits=dp.get_precision('Account') args: 'Subtotal'
  • price_total Monetary
    compute='_compute_price_subtotal' default=0.0 string='Price Total'
Public methods (0)

No public methods.

New fields (8)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_fee_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_fee_comment_rel' string='Comments'
  • company_id Many2one
    related='repair_id.company_id' store=True
  • fiscal_tax_ids Many2many → l10n_br_fiscal.tax
    column1='document_id' column2='fiscal_tax_id' comodel_name='l10n_br_fiscal.tax' relation='fiscal_repair_fee_tax_rel' string='Fiscal Taxes'
  • ind_final Selection
    related='repair_id.ind_final'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' related='repair_id.partner_id' string='Partner'
  • quantity Float
    depends=['product_uom_qty'] related='product_uom_qty' args: 'Part Quantity'
  • tax_framework Selection
    related='repair_id.company_id.tax_framework' selection=TAX_FRAMEWORK string='Tax Framework'
  • uom_id Many2one
    depends=['product_uom'] related='product_uom'
Public methods (0)

No public methods.

New fields (8)
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_line_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_line_comment_rel' string='Comments'
  • company_id Many2one
    related='repair_id.company_id' store=True
  • fiscal_tax_ids Many2many → l10n_br_fiscal.tax
    column1='document_id' column2='fiscal_tax_id' comodel_name='l10n_br_fiscal.tax' relation='fiscal_repair_line_tax_rel' string='Fiscal Taxes'
  • ind_final Selection
    related='repair_id.ind_final'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' related='repair_id.partner_id' string='Partner'
  • quantity Float
    depends=['product_uom_qty'] related='product_uom_qty' args: 'Part Quantity'
  • tax_framework Selection
    related='repair_id.company_id.tax_framework' selection=TAX_FRAMEWORK string='Tax Framework'
  • uom_id Many2one
    depends=['product_uom'] related='product_uom'
Public methods (0)

No public methods.

New fields (13)
  • client_order_ref Char
    copy=False string='Customer Reference'
  • cnpj_cpf Char
    related='partner_id.cnpj_cpf' string='CNPJ/CPF'
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='repair_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='repair_order_comment_rel' string='Comments'
  • copy_repair_quotation_notes Boolean
    default=_default_copy_note string='Copiar Observação no documentos fiscal'
  • currency_id Many2one
    related='partner_id.currency_id' string='Currency ID'
  • discount_rate Float
    readonly=True states={'draft': [('readonly', False)]} string='Discount'
  • fiscal_document_count Integer
    readonly=True related='invoice_count' string='Fiscal Document Count'
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' default=_default_fiscal_operation domain=<expr> readonly=True states={'draft': [('readonly', False)]}
  • ie Char
    related='partner_id.inscr_est' string='State Tax Number/RG'
  • ind_pres Selection
    readonly=True states={'draft': [('readonly', False)]}
  • invoice_count Integer
    compute='_compute_get_invoiced' readonly=True string='Invoice Count'
  • invoice_ids Many2many → account.invoice
    compute='_compute_get_invoiced' copy=False readonly=True string='Invoices' args: 'account.invoice'
  • legal_name Char
    related='partner_id.legal_name' string='Legal Name'
Public methods (5)
  • action_invoice_create(self, group=False)
    @api.multi
    Creates invoice(s) for repair order. @param group: It is set to true when group invoice is to be generated. @return: Invoice Ids.
  • action_view_document(self)
    @api.multi
  • action_view_invoice(self)
    @api.multi
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
  • onchange_discount_rate(self)
    @api.onchange('discount_rate')

New fields (2)
  • copy_repair_quotation_notes Boolean
    default=False string='Copy Repair quotation notes on invoice'
  • repair_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' string='Operação Fiscal Padrão de Reparos'
Public methods (0)

No public methods.

New fields (1)
  • copy_repair_quotation_notes Boolean
    readonly=False related='company_id.copy_repair_quotation_notes' string='Copy repair quotation notes in Fiscal documents'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-brazil
PULL REQUEST
PULL REQUEST[18.0][WIP][MIG] l10n_br_repair: Migration to 18.0 (#4525)