Skip to content

[18.0][MIG] l10n_es_aeat_mod296: #4250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Aug 6, 2025

Conversation

EmilioPascual
Copy link
Contributor

@EmilioPascual EmilioPascual commented Jun 27, 2025

@nachosarmiento
Copy link

Hola! ¿Alguna novedad sobre la revisión o merge de este PR?
Estamos migrando a Odoo 18 y este módulo es crítico para nuestro proyecto.
Si necesitan ayuda para probar o corregir algo, puedo colaborar. ¡Gracias!

@pedrobaeza
Copy link
Member

Hola, Nacho, puedes revisar el correcto funcionamiento de las migraciones y hacer la revisión:

https://odoo-community.org/resources/review

agaldona and others added 28 commits July 28, 2025 09:22
* 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
oca-ci and others added 3 commits July 28, 2025 09:23
…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
@EmilioPascual EmilioPascual force-pushed the 18.0-mig-l10n_es_aeat_mod296 branch from b498630 to 5497b0f Compare July 28, 2025 07:23
@OCA-git-bot
Copy link
Contributor

Sorry @EmilioPascual you are not allowed to mark the addon to be migrated.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@EmilioPascual
Copy link
Contributor Author

/ocabot migration l10n_es_aeat_mod296

@OCA-git-bot
Copy link
Contributor

Sorry @EmilioPascual you are not allowed to mark the addon to be migrated.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@EmilioPascual EmilioPascual force-pushed the 18.0-mig-l10n_es_aeat_mod296 branch from 5497b0f to ff3058c Compare August 4, 2025 06:31
@EmilioPascual
Copy link
Contributor Author

¿@pedrobaeza puedes revisar el módulo por favor y fusionarlo si está correcto? Gracias

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot migration l10n_es_aeat_mod296
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Aug 6, 2025
@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot mentioned this pull request Aug 6, 2025
40 tasks
@OCA-git-bot OCA-git-bot merged commit 99d28a5 into OCA:18.0 Aug 6, 2025
5 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 3ff9fc8. 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.