Skip to content

[19.0][MIG] l10n_es_aeat_mod123#4902

Open
EmilioPascual wants to merge 55 commits intoOCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod123
Open

[19.0][MIG] l10n_es_aeat_mod123#4902
EmilioPascual wants to merge 55 commits intoOCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod123

Conversation

@EmilioPascual
Copy link
Contributor

No description provided.

pedrobaeza and others added 30 commits March 13, 2026 08:11
================================
Presentación del Modelo AEAT 123
================================

Modelo 123 de la AEAT. Retenciones e ingresos a cuenta del Impuesto sobre la
Renta de las Personas Físicas, Impuesto sobre Sociedades y del Impuesto sobre
la Renta de no Residentes (establecimientos permanentes). Determinados
rendimientos del capital mobiliario o determinadas rentas.

Este modelo tiene su utilidad sobre todo en préstamos entre empresas o
particulares, o financiaciones recibidas por ENISA (Empresa Nacional de
Innovación) o CDTI (Centro para el Desarrollo Tecnológico Industrial).

Otra utilidad que se le da es para las retenciones en los repartos de
dividendos.

El modelo se presentará mensualmente para grandes empresas, y mensualmente
para el resto, por parte de aquellas empresas que deban abonar intereses de
esos préstamos.

Instalación
===========

Este módulo depende del módulo _l10n_es_ que está en este mismo repositorio
(pero que debe tener más prioridad que el de Odoo base), con la versión mínima
5.4. Para que el módulo funcione, el plan de cuentas debe estar actualizado.
Utilice _account_chart_update_ para ello.

Uso
===

Para introducir datos válidos para el modelo:

* Realizar una factura de proveedor de los intereses cobrados por la empresa
  o particular prestatario con impuesto "Retenciones 21% (préstamos)".
* O también puede realizar una factura de proveedor del reparto de dividendos
  con el impuesto "Retenciones 19% (dividendos)".
* Validarla.

Para crear una declaración del modelo:

* Ir a Contabilidad > Informe > Informes legales > Declaraciones AEAT >
  Modelo 123.
* Pulsar en el botón "Crear".
* Seleccionar el ejercicio fiscal y el tipo de período. Los periodos incluidos
  se calculan automáticamente.
* Seleccionar el tipo de declaración.
* Rellenar el teléfono, necesario para la exportacion BOE.
* Guardar y pulsar en el botón "Calcular".
* Cuando revise los valores, pulse en el botón "Confirmar".
* Se puede exportar la declaración en formato BOE para presentarla
  telemáticamente en el portal de la AEAT
This way, we don't initially see all the subconfigs for each model and we can concentrate
on main export configurations. This is got through `active` field default behaviour.
Archived config are still directly searchable through the subconfig selector in the
configuration line.

All models export configs have been adapted to this new approach.
* Include chatter (mail.thread)
* Include activities (mail.activity.mixin)
* Track AEAT report state change
* Include new admin user in AEAT group by default
…n tests

This way, we can reuse it in other modules that don't inherit AEAT report like SII.

We also clean a non needed reading of the tax description field.

Tests were still using description method for populating data, so we switch to new
system and perform needed changes in dependent tests.

s
Change year extraction to the specific field for the year
Currently translated at 100.0% (100 of 100 strings)

Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod123/es/
Currently translated at 99.0% (99 of 100 strings)

Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod123/ca/
Currently translated at 100.0% (103 of 103 strings)

Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod123/ca/
Currently translated at 97.0% (100 of 103 strings)

Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod123/es/
Currently translated at 100.0% (103 of 103 strings)

Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod123/ca/
Currently translated at 6.7% (7 of 104 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/sl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/
Currently translated at 100.0% (100 of 100 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/ca/
oca-ci and others added 24 commits March 13, 2026 10:39
Currently translated at 100.0% (100 of 100 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/
Currently translated at 99.0% (99 of 100 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/es/
Currently translated at 100.0% (100 of 100 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/
Currently translated at 100.0% (100 of 100 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod123/es/
Since 2024 field casilla 14 2024 must be shown in tree.

@moduon MT-6114
This provokes duplicity and uncertainty of which translation is being
loaded.
Currently translated at 58.4% (83 of 142 strings)

Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_aeat_mod123/es/
…o de sociedad)' added to tax mapping

Co-authored-by: Emilio Pascual <53056345+EmilioPascual@users.noreply.github.com>
@pedrobaeza
Copy link
Member

/ocabot migration l10n_es_aeat_mod123

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Mar 13, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 13, 2026
34 tasks
@EmilioPascual EmilioPascual force-pushed the 19.0-mig-l10n_es_aeat_mod123 branch from 5d1735d to 6b0e3c9 Compare March 13, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.