Skip to content

[19.0][MIG] l10n_es_aeat_mod296: Migration to 19.0 - #4933

Merged
OCA-git-bot merged 37 commits into
OCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod296
May 8, 2026
Merged

[19.0][MIG] l10n_es_aeat_mod296: Migration to 19.0#4933
OCA-git-bot merged 37 commits into
OCA:19.0from
moduon:19.0-mig-l10n_es_aeat_mod296

Conversation

@EmilioPascual

@EmilioPascual EmilioPascual commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

agaldona and others added 30 commits April 6, 2026 15:12
* README, manifiesto e icono
* Ajustes y mejoras
* Cálculo por códigos de impuestos generalizado + tratamiento residentes 216 y cálculo
* Traducciones
* Reglas de acceso para las líneas del informe
…lugar de recordset + gestionar grupos de compañías
…ixes OCA#290

Cuando se tienen campos related, aunque el valor no se cambie,
Odoo lanza una escritura en el objeto relacionado cada vez que se
guarda el objeto principal. En el caso de la moneda asociada a la
compañía, hace que aquellos usuarios que no tengan permiso para
modificar la compañía (la mayoría), falle en la creación del modelo.
El anterior método utilizado, al tener una clase y un many2one genérico,
no permitía poner los datos en múltiples modelos hijos, ya que se repetían
los IDs, y cogía los datos de un modelo en otros.

Con este nuevo sistema, se sigue utilizando una tabla, pero con doble
índice: el modelo y el ID, parecido a un campo reference, pero gestionado
por código propio en el método de cálculo.

El 303 está adaptado a este nuevo sistema, y se incluye un script de
migración que conserve los datos.
Currently translated at 100.0% (105 of 105 strings)

Translation: l10n-spain-10.0/l10n-spain-10.0-l10n_es_aeat_mod296
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-10-0/l10n-spain-10-0-l10n_es_aeat_mod296/es/
Same change as done in model 216
Currently translated at 100.0% (146 of 146 strings)

Translation: l10n-spain-12.0/l10n-spain-12.0-l10n_es_aeat_mod296
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_aeat_mod296/es/
* 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
[UPD] Update l10n_es_aeat_mod296.pot

[UPD] README.rst

[UPD] Update l10n_es_aeat_mod296.pot
TT37373

l10n_es_aeat_mod296 13.0.1.2.0

Update translation files

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

Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod296
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod296/
Currently translated at 85.1% (143 of 168 strings)

Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_mod296
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_mod296/es/
…a has been included in l10n_es module

MT-7610
…agencia

[IMP] l10n_es_aeat*: cambio de menu a declaraciones con submenus por agencia

[IMP] l10n_es_aeat*: cambio de menu a declaraciones con submenus por agencia
@HaraldPanten

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_es_aeat_mod296

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 7, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 7, 2026
40 tasks

@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
Recoge perfectamente las retenciones y las bases de no residentes y sus perceptores

El único problema que he localizado es que el modelo 296 es un modelo anual y no me deja seleccionar esa opción. He hecho las comprobaciones por trimestres pero cuando he ido a comprobar todo el año solo he podido marcando un trimestre y cambiando manualmente las fecha pero deja marcado el trimestre que he seleccionado
Necesitamos añadir la opción ANUAL

Image

Muchas gracias @EmilioPascual @moduon MT-14058

@EmilioPascual

Copy link
Copy Markdown
Contributor Author

El módulo tenía un error y no estaba puesto como declaración anual.
He hecho fix para 18 #4973 y añadido aquí para 19. Cuando esté fusionado hago bp a versiones anteriores

@ArantxaSudon revisa de nuevo por favor.

@EmilioPascual
EmilioPascual force-pushed the 19.0-mig-l10n_es_aeat_mod296 branch from 4d9d692 to 3aeb999 Compare April 29, 2026 10:30

@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.

Revisado de nuevo y ahora si recoge todo perfectamente y el modelo es anual

Image

Muchas gracias @EmilioPascual @moduon MT-14058

@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

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-4933-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 19.0-ocabot-merge-pr-4933-by-pedrobaeza-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@pedrobaeza

Copy link
Copy Markdown
Member

/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-4933-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 9b6338e into OCA:19.0 May 8, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.