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

[16.0][MIG] l10n_es_aeat_mod123: Migration to 16.0 #2696

Merged
merged 24 commits into from
Feb 6, 2023

Conversation

FernandoRomera
Copy link
Contributor

No description provided.

pedrobaeza and others added 11 commits December 22, 2022 11:06
================================
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.
Currently translated at 100.0% (39 of 39 strings)

Translation: l10n-spain-11.0/l10n-spain-11.0-l10n_es_aeat_mod123
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-11-0/l10n-spain-11-0-l10n_es_aeat_mod123/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
Change year extraction to the specific field for the year
@FernandoRomera
Copy link
Contributor Author

#2526

Copy link

@MRomeera MRomeera left a comment

Choose a reason for hiding this comment

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

Ok

@OCA-git-bot
Copy link
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). 🤖

ValentinVinagre and others added 12 commits December 28, 2022 07:54
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/
@FernandoRomera
Copy link
Contributor Author

@pedrobaeza
Realizado squashing.

@FernandoRomera
Copy link
Contributor Author

@OCA/local-spain-maintainers
Podriamos fusionar este PR, para ir avanzando en la migración de la 16.0

Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

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

@pedrobaeza
Copy link
Member

/ocabot migration l10n_es_aeat_mod123

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Feb 6, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 6, 2023
54 tasks
@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 5c32aea into OCA:16.0 Feb 6, 2023
@OCA-git-bot
Copy link
Contributor

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

@FernandoRomera FernandoRomera deleted the 16.0-mig-l10n_es_aeat_mod123 branch February 7, 2023 15: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.