Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 12.0

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

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

Description

This module was written to extend the functionality of contract module to support the adequacy of Brazilian contract standards

Dependencies

Odoo dependencies
Python dependencies
erpbrasil-base>=2.5.0, email-validator, erpbrasil-base>=2.4.2, num2words, phonenumbers
System dependencies
None
Required by
l10n_br_product_contract

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
contract_contract_form_view contract.contract form view (in l10n_br_contract) contract.contract form Inherits contract.contract_contract_form_view
contract_line_form_view contract.contract.line form view (in l10n_br_contract) contract.line form Inherits contract.contract_line_form_view
l10n_br_contract_res_company_form res.company.form (in l10n_br_contract) res.company form Inherits l10n_br_fiscal.fiscal_res_company_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (9)
  • cnpj_cpf Char
    related='partner_id.vat' string='CNPJ/CPF'
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='contract_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='contract_comment_rel' string='Comments'
  • contract_recalculate_taxes_before_invoice Boolean
    default=True string='Recalculate Fiscal Operation Line Before Invoicing'
  • country_id Many2one
    precompute=True related='company_id.country_id' store=True
  • currency_id Many2one
    readonly=False
  • fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' domain=<expr> string='Fiscal Operation'
  • ie Char
    related='partner_id.l10n_br_ie_code' string='State Tax Number/RG'
  • legal_name Char
    related='partner_id.legal_name' string='Legal Name'
  • operation_name Char
    copy=False
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • recurring_create_invoice(self)

New fields (9)
  • automatic_price Boolean
    compute='_compute_automatic_price' precompute=True store=True
  • comment_ids Many2many → l10n_br_fiscal.comment
    column1='contract_line_id' column2='comment_id' comodel_name='l10n_br_fiscal.comment' relation='contract_line_comment_rel' string='Comments'
  • country_id Many2one
    related='company_id.country_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_contract_line_tax_rel' string='Fiscal Taxes'
  • line_recurrence Boolean
    related='contract_id.line_recurrence'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' precompute=True related='contract_id.partner_id' store=True string='Partner'
  • price_unit Float
    compute='_compute_price_unit' precompute=True store=True
  • tax_framework Selection
    related='contract_id.company_id.tax_framework' string='Tax Framework'
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' compute='_compute_uom_id' precompute=True store=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • contract_purchase_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' required=False string='Default Contract Purchase Fiscal Operation'
  • contract_sale_fiscal_operation_id Many2one → l10n_br_fiscal.operation
    comodel_name='l10n_br_fiscal.operation' required=False string='Default Contract Sale Fiscal Operation'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…