Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.0

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

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

Description

This module provides financial and tax reports for the Mexican localization:

  • Balance Sheet (Balance General).
  • Profit and Loss (Estado de Resultados).
  • Trial Balance — annual and monthly (Balanza de Comprobación).
  • Aged Accounts Receivable (Cuentas por Cobrar Vencidas).
  • Aged Accounts Payable (Cuentas por Pagar).
  • Cash Flow (Flujo de Efectivo).
  • DIOT (Declaración Informativa de Operaciones con Terceros).

Dependencies

Odoo dependencies
OCA/account-financial-tools:
OCA/mis-builder:
OCA/reporting-engine:
OCA/server-ux:
odoo/odoo:
- web
- bus
- uom
Python dependencies
openupgradelib
System dependencies
None
Required by
None

Code analysis

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

Views touched 2

XML IDNameModelTypeStatus
report_financial report_financial ir.ui.view qweb New
view_l10n_mx_financial_report_wizard_form l10n_mx.financial.report.wizard.form l10n_mx.financial.report.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (9)
  • get_aged_payable(self, company, date_to)
  • get_aged_receivable(self, company, date_to)
  • get_balance_sheet(self, company, date_from, date_to)
  • get_diot_lines(self, company, date_from, date_to)
  • get_profit_and_loss(self, company, date_from, date_to)
  • get_report_lines(self, report_type, company, date_from, date_to)
  • get_report_title(self, report_type)
  • get_trial_balance(self, company, date_from, date_to)
  • render_diot_txt(self, lines)

New fields (4)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • date_from Date
    required=True
  • date_to Date
    required=True
  • report_type Selection
    required=True selection=[('balance_sheet', 'Balance Sheet'), ('profit_loss', 'Profit and Loss'), ('trial_balance', 'Trial Balance'), ('aged_receivable', 'Aged Accounts Receivable'), ('aged_payable', 'Aged Accounts Payable'), ('diot', 'DIOT')]
Public methods (4)
  • action_export_diot_txt(self)
  • action_open_wizard(self, report_type)
    @api.model
  • action_print_pdf(self)
  • default_get(self, fields_list)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.