Repository
OCA/l10n-brazil · module folder · Try on Runboat
Module version
2.0.0
Category
Localisation
Folder size
0.37 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-brazil
Last tracking update
2026-08-07 07:47:31
Authors
Odoo Community Association (OCA), Escodoo
Maintainers
Odoo Community Association (OCA), Escodoo
Committers
Raphaël Valyi, Weblate, Luis Felipe Miléo, OCA-git-bot, oca-ci, Magno Costa, Marcel Savegnago, Antônio Neto, Felipe Motter
Odoo dependencies
Python dependencies
email-validator, erpbrasil.base, num2words, phonenumbers
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
repair_fee_form_view repair.fee.form (in l10n_br_repair) repair.order form Inherits repair.view_repair_order_form
repair_line_form_view repair.line.form (in l10n_br_repair) repair.order form Inherits repair.view_repair_order_form
repair_order_form_view repair.order.form (in l10n_br_repair) repair.order form 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 form Inherits l10n_br_fiscal.fiscal_res_company_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
113 days ago
Last activity
113 days ago
Repository
OCA/l10n-brazil
Pull request
[18.0][WIP][MIG] l10n_br_repair: Migration to 18.0 (#4525)