Skip to content

[19.0][MIG] l10n_es_aeat_mod190: Migration to 19.0 - #4924

Merged
OCA-git-bot merged 78 commits into
OCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod190
Apr 30, 2026
Merged

[19.0][MIG] l10n_es_aeat_mod190: Migration to 19.0#4924
OCA-git-bot merged 78 commits into
OCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod190

Conversation

@EmilioPascual

Copy link
Copy Markdown
Contributor

@moduon MT-14011

@EmilioPascual
EmilioPascual force-pushed the 19.0-mig-l10n_es_aeat_mod190 branch 2 times, most recently from 5bfb8c7 to 84edfb7 Compare March 27, 2026 12:37

@ArantxaSudon ArantxaSudon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revisión funcional

Las retenciones y sus bases correspondientes se recogen correctamente en las casillas del 190

Image

Cuando accedes a los perceptores también recoge correctamente los datos y las cuantías

Solo he visto una cosa que me parece que no es correcta que es que no puedo poner un mismo contacto con dos claves de percepción distintas cuando esto si que puede ocurrir

Como aquí se está migrando a 19, lo apruebo y abro una issue con esto que he visto

Muchas gracias @EmilioPascual @moduon MT-14011

@HaraldPanten

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_es_aeat_mod190

@pedrobaeza

Copy link
Copy Markdown
Member

Habría que incluir #4938, ¿no?

@ArantxaSudon

Copy link
Copy Markdown
Contributor

Si, estoy de acuerdo con @pedrobaeza, hay que incluir #4938

@OCA-git-bot OCA-git-bot added series:19.0 mod:l10n_es_aeat_mod190 Module l10n_es_aeat_mod190 labels Apr 29, 2026
@EmilioPascual

Copy link
Copy Markdown
Contributor Author

Añadido

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration l10n_es_aeat_mod190

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 30, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 30, 2026
40 tasks
Comment thread l10n_es_aeat_mod190/models/l10n_es_aeat_mod190_report.py Outdated
Comment thread l10n_es_aeat_mod190/uv.lock Outdated
@HaraldPanten

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_es_aeat_mod190

Gracias, parece que cuando yo lo lancé aquí --> #4924 (comment) el bot estaba ya de 1 de mayo.

@EmilioPascual

Copy link
Copy Markdown
Contributor Author

Revisión funcional

Las retenciones y sus bases correspondientes se recogen correctamente en las casillas del 190

Image Cuando accedes a los perceptores también recoge correctamente los datos y las cuantías

Solo he visto una cosa que me parece que no es correcta que es que no puedo poner un mismo contacto con dos claves de percepción distintas cuando esto si que puede ocurrir

Como aquí se está migrando a 19, lo apruebo y abro una issue con esto que he visto

Muchas gracias @EmilioPascual @moduon Moduon - Task #14011

El tema de las claves, lo he respondido en #4980 (comment)

Voy a aprovechar y hacer una mejora. Añadir la clave de percepción a la vista de perceptores.

image

jvpascual and others added 14 commits April 30, 2026 10:22
[UPD] Update l10n_es_aeat_mod190.pot

[UPD] README.rst
…date report

[UPD] Update l10n_es_aeat_mod190.pot

l10n_es_aeat_mod190 12.0.1.0.1
[UPD] Update l10n_es_aeat_mod190.pot

l10n_es_aeat_mod190 12.0.1.0.2
[UPD] Update l10n_es_aeat_mod190.pot

[UPD] README.rst
[UPD] Update l10n_es_aeat_mod190.pot

l10n_es_aeat_mod190 13.0.1.1.0
[UPD] Update l10n_es_aeat_mod190.pot

[UPD] README.rst
TT38363

[UPD] Update l10n_es_aeat_mod190.pot

[UPD] README.rst
[UPD] Update l10n_es_aeat_mod190.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-15.0/l10n-spain-15.0-l10n_es_aeat_mod190
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_aeat_mod190/

[UPD] README.rst
OCA-git-bot and others added 14 commits April 30, 2026 10:22
… tax mapping

Add "24% Ret IRPF" to tax mapping for field numbers 15 and 16.

MT-13024 @moduon
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_aeat_mod190
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_aeat_mod190/
…tax lines

Use defaultdict to ensure tax_data structure is always valid and
skip _get_grouped_data calls when report has no tax_line_ids.

This prevents ValueError when map_line_id is empty and ensures
partner records can be added to reports without tax lines.

Co-authored-by: Joel Estrada <<45316362+u0f@users.noreply.github.com>>
https://sede.agenciatributaria.gob.es/Sede/declaraciones-informativas-otros-impuestos-tasas/campana-declaraciones-informativas-2025/novedades-campana-modelo/modelo-190.html

Cambios hechos clave B:
- Se modifica la  suclave 03
- Se crean la suclaves 04 y 99

Cambios hechos clave K:
- Se modifica la subclave 01 y 03
- Se crean las subclaves 04 y 05

TT61483
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-18.0/l10n-spain-18.0-l10n_es_aeat_mod190
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-18-0/l10n-spain-18-0-l10n_es_aeat_mod190/
@EmilioPascual
EmilioPascual force-pushed the 19.0-mig-l10n_es_aeat_mod190 branch 2 times, most recently from 03c2ade to 0c6a62f Compare April 30, 2026 09:42
…l is selected

When casilla 03 is computed with registro_manual checked, then it should sum ingresos_a_cuenta_efectuados and ingresos_a_cuenta_efectuados_incap

MT-13025 @moduon
@EmilioPascual
EmilioPascual force-pushed the 19.0-mig-l10n_es_aeat_mod190 branch from 5bde58c to 9fce186 Compare April 30, 2026 09:51

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-4924-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 3c9384f into OCA:19.0 Apr 30, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 66e3228. Thanks a lot for contributing to OCA. ❤️

@EmilioPascual
EmilioPascual deleted the 19.0-mig-l10n_es_aeat_mod190 branch May 4, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.