Skip to content
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

[MIG] l10n_es_aeat_mod111: Migration to 15.0 #1944

Merged
merged 61 commits into from
Dec 29, 2021

Conversation

ValentinVinagre
Copy link
Contributor

@ValentinVinagre ValentinVinagre commented Dec 16, 2021

agaldona and others added 30 commits December 16, 2021 15:03
…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.
With the limitation of ORM with tax_line_ids in @api.depends,
we avoid the access error this way
danimv5 and others added 11 commits December 16, 2021 15:03
Currently translated at 100.0% (139 of 139 strings)

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

Translation: l10n-spain-13.0/l10n-spain-13.0-l10n_es_aeat_mod111
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-13-0/l10n-spain-13-0-l10n_es_aeat_mod111/es/
Due to the change in odoo/odoo#55842, we need to adjust the amounts in tests for
being correct.
Since odoo/odoo#68939, we have the new tax
"Retenciones IRPF 24%", so we have to map it in model 111.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod111
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod111/
Currently translated at 12.6% (18 of 142 strings)

Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod111
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod111/ca/
@ValentinVinagre ValentinVinagre mentioned this pull request Dec 16, 2021
48 tasks
@ValentinVinagre ValentinVinagre force-pushed the 15.0-mig-l10n_es_aeat_mod111 branch 2 times, most recently from e9bca5f to e63745a Compare December 28, 2021 08:31
@HaraldPanten
Copy link
Contributor

/ocabot migration l10n_es_aeat_mod111

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Dec 28, 2021
@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 15.0-ocabot-merge-pr-1944-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c457171 into OCA:15.0 Dec 29, 2021
@OCA-git-bot
Copy link
Contributor

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

@HaraldPanten HaraldPanten deleted the 15.0-mig-l10n_es_aeat_mod111 branch December 29, 2021 16:12
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.