AEAT Modelo 322
l10n_es_aeat_mod322 · OCA/l10n-spain
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
L10nEsAeatMod322Group— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
company_idsMany2many → res.companydefault=<expr>string='Dependent Companies'tracking=True args: 'res.company' -
main_company_idMany2one → res.companydefault=<expr>required=Truestring='Dominant Company'tracking=True args: 'res.company' -
nameCharhelp='Number assigned by AEAT to the group'required=Truestring='Group Number'tracking=True -
vinculated_partner_idsMany2many → res.partnerhelp='Use this field if you have other vinculated partners'tracking=True args: 'res.partner'
No public methods.
-
allow_postingBooleandefault=Truestring='Allow posting' -
atribuible_estadoFloatcompute='_compute_atribuible_estado'readonly=Truestore=Truestring='[65] Attributable to the Administration' -
casilla_63Floatcompute='_compute_casilla_63'help='(VAT payable - VAT receivable)'readonly=Truestore=Truestring='[63] General scheme result' -
company_typeSelectioncompute='_compute_company_info'selection=[('D', 'Dominante'), ('P', 'Dependiente')]store=Truestring='Tipo de compañía' -
counterpart_account_idMany2one → account.accountcomodel_name='account.account'compute='_compute_counterpart_account_id'domain="[('company_ids', '=', company_id)]"readonly=Falsestore=Truestring='Counterpart account' -
cuota_compensarFloatdefault=0help='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_liquidacionFloatcompute='_compute_cuota_liquidacion'default=0store=Truestring='[68] Result' -
dominant_company_vatCharcompute='_compute_company_info'store=Truestring='NIF de la entidad dominante' -
exonerated_390Selectiondefault='2'help='Exonerado de la Declaración-resumen anual del IVA, modelo 390: Volumen de operaciones (art. 121 LIVA)'readonly=Truerequired=Trueselection=[('1', 'Exonerado'), ('2', 'No exonerado')]string='Exonerado mod. 390' -
group_numberCharcompute='_compute_company_info'store=Truestring='Nº Grupo' -
has_operation_volumeBooleandefault=Truehelp='¿Existe volumen de operaciones (art. 121 LIVA)?'string='¿Volumen de operaciones?' -
main_activity_code_idMany2one → l10n.es.aeat.mod303.report.activity.codecomodel_name='l10n.es.aeat.mod303.report.activity.code'domain=ACTIVITY_CODE_DOMAINstring='Código actividad principal' -
main_activity_iaeCharsize=4string='Epígrafe I.A.E. actividad principal' -
operaciones_ejercicioFloatcompute='_compute_operaciones_ejercicio'default=0store=Truestring='[88] Operaciones realizadas en el ejercicio' -
porcentaje_atribuible_estadoFloatdefault=100help='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_deducirFloatcompute='_compute_total_deducir'string='[62] Total a deducir' -
total_devengadoFloatcompute='_compute_total_devengado'string='[38] Total devengado' -
vinculated_partner_idsMany2many → res.partnercompute='_compute_company_info'store=True args: 'res.partner'
-
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…