Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 14.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.26 MB
Module directory on disk
Code analysis 1 migration note 2 models 5 views 0 HTTP endpoints

Description

Módulo para la presentación del modelo 322 (IVA - Autodeclaración mensual individual para grupos de entidades) de la Agencia Española de Administración Tributaria.

Incluye la exportación al formato BOE para su uso telemático y la creación del asiento de regularización de las cuentas de impuestos.

Dependencies

Odoo dependencies
OCA/account-financial-reporting:
OCA/l10n-spain:
OCA/server-ux:
odoo/odoo:
- web
- bus
- uom
Python dependencies
unidecode
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 5

XML IDNameModelTypeStatus
l10n_es_aeat_mod322_group_form_view l10n.es.aeat.mod322.group.form (in l10n_es_aeat_mod322) l10n.es.aeat.mod322.group form New
l10n_es_aeat_mod322_group_search_view l10n.es.aeat.mod322.group.search (in l10n_es_aeat_mod322) l10n.es.aeat.mod322.group search New
l10n_es_aeat_mod322_group_tree_view l10n.es.aeat.mod322.group.tree (in l10n_es_aeat_mod322) l10n.es.aeat.mod322.group list New
l10n_es_aeat_mod322_report_form_view l10n.es.aeat.mod322.report.form (in l10n_es_aeat_mod322) l10n.es.aeat.mod322.report form Inherits l10n_es_aeat.view_l10n_es_aeat_report_form
l10n_es_aeat_mod322_report_tree_view l10n.es.aeat.mod322.report.tree (in l10n_es_aeat_mod322) l10n.es.aeat.mod322.report list Inherits l10n_es_aeat.view_l10n_es_aeat_report_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • company_ids Many2many → res.company
    default=<expr> string='Dependent Companies' tracking=True args: 'res.company'
  • main_company_id Many2one → res.company
    default=<expr> required=True string='Dominant Company' tracking=True args: 'res.company'
  • name Char
    help='Number assigned by AEAT to the group' required=True string='Group Number' tracking=True
  • vinculated_partner_ids Many2many → res.partner
    help='Use this field if you have other vinculated partners' tracking=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (18)
  • allow_posting Boolean
    default=True string='Allow posting'
  • atribuible_estado Float
    compute='_compute_atribuible_estado' readonly=True store=True string='[65] Attributable to the Administration'
  • casilla_63 Float
    compute='_compute_casilla_63' help='(VAT payable - VAT receivable)' readonly=True store=True string='[63] General scheme result'
  • company_type Selection
    compute='_compute_company_info' selection=[('D', 'Dominante'), ('P', 'Dependiente')] store=True string='Tipo de compañía'
  • counterpart_account_id Many2one → account.account
    comodel_name='account.account' compute='_compute_counterpart_account_id' domain="[('company_ids', '=', company_id)]" readonly=False store=True string='Counterpart account'
  • cuota_compensar Float
    default=0 help='Fee to compensate for prior periods, in which his statement was to return and compensation back option was chosen' string='[66] Applied fees to compensate'
  • cuota_liquidacion Float
    compute='_compute_cuota_liquidacion' default=0 store=True string='[68] Result'
  • dominant_company_vat Char
    compute='_compute_company_info' store=True string='NIF de la entidad dominante'
  • exonerated_390 Selection
    default='2' help='Exonerado de la Declaración-resumen anual del IVA, modelo 390: Volumen de operaciones (art. 121 LIVA)' readonly=True required=True selection=[('1', 'Exonerado'), ('2', 'No exonerado')] string='Exonerado mod. 390'
  • group_number Char
    compute='_compute_company_info' store=True string='Nº Grupo'
  • has_operation_volume Boolean
    default=True help='¿Existe volumen de operaciones (art. 121 LIVA)?' string='¿Volumen de operaciones?'
  • main_activity_code_id Many2one → l10n.es.aeat.mod303.report.activity.code
    comodel_name='l10n.es.aeat.mod303.report.activity.code' domain=ACTIVITY_CODE_DOMAIN string='Código actividad principal'
  • main_activity_iae Char
    size=4 string='Epígrafe I.A.E. actividad principal'
  • operaciones_ejercicio Float
    compute='_compute_operaciones_ejercicio' default=0 store=True string='[88] Operaciones realizadas en el ejercicio'
  • porcentaje_atribuible_estado Float
    default=100 help='Taxpayers who pay jointly to the Central Government and the Provincial Councils of the Basque Country or the Autonomous Community of Navarra, will enter in this box the percentage of volume operations in the common territory. Other taxpayers will enter in this box 100%' string='[64] % attributable to State'
  • total_deducir Float
    compute='_compute_total_deducir' string='[62] Total a deducir'
  • total_devengado Float
    compute='_compute_total_devengado' string='[38] Total devengado'
  • vinculated_partner_ids Many2many → res.partner
    compute='_compute_company_info' store=True args: 'res.partner'
Public methods (2)
  • calculate(self)
    Refresh the stored company info before calculating tax lines. These fields only depend on ``company_id``, so a group created or modified after the report would leave ``company_type``, ``group_number``, ``dominant_company_vat`` and ``vinculated_partner_ids`` stale. The latter drives ``_get_move_line_domain``.
  • check_qty(self)
    @api.constrains('cuota_compensar')

Loading…

Loading…