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_mod390: Migration to 16.0 #2702

Merged
merged 46 commits into from
Dec 27, 2022

Conversation

FernandoRomera
Copy link
Contributor

No description provided.

pedrobaeza and others added 30 commits December 22, 2022 11:27
================================
Presentación del Modelo AEAT 390
================================

Modelo 390 de la AEAT. Declaración-resumen anual del Impuesto sobre el Valor
Añadido.

Instalación
===========

Este módulo requiere del módulo *account_tax_balance* que se encuentra en
https://github.com/OCA/account-financial-reporting.

Uso
===

Para crear un modelo, por ejemplo de un trimestre del año:

1. Ir a *Contabilidad > Declaraciones AEAT > Modelo 390*.
2. Pulsar en el botón "Crear"
3. Seleccionar el ejercicio fiscal.
4. Seleccionar el tipo de declaración.
5. Rellenar el teléfono y teléfono móvil, necesarios para la exportacion BOE
6. Guardar y pulsar en el botón "Calcular"
7. Rellenar (si es necesario) aquellos campos que Odoo no calcula
   automáticamente.
8. Cuando los valores sean los correctos, pulsar en el botón "Confirmar"
9. Podemos exportar en formato BOE para presentarlo telemáticamente en el
   portal de la AEAT

Problemas conocidos / Hoja de ruta
==================================

* La declaración sólo se puede realizar para personas jurídicas.
* No se han implementado todas las casillas de opciones de la empresa, como
  por ejemplo si la empresa está en concurso de acreedores o si pertenece
  al registro de devolución mensual.
* No se calculan operaciones intragrupo.
* No se contempla el régimen de criterio de caja.
* No se contempla el régimen especial de bienes usados, objetos de arte,
  antigüedades y objetos de colección.
* No se contempla el régimen especial de agencias de viaje.
* No se contempla el régimen especial de la agricultura, ganadería y pesca.
* No se contempla la prorrata general de IVA.
* No se contempla el régimen simplificado.
* No se contempla el régimen de deducción diferenciado.
* No se contempla la inversión de sujeto pasivo nacional.
* No se ha incluido el cálculo para los bienes de inversión.
* No se ha incluido el cálculo para otros supuestos de inversión de sujeto
  pasivo.
* No se tienen en cuenta tributaciones territoriales.
* Obtener las casillas 95, 97 y 98 de las declaraciones del 303.
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% (137 of 137 strings)

Translation: l10n-spain-12.0/l10n-spain-12.0-l10n_es_aeat_mod390
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_aeat_mod390/es/
* Include chatter (mail.thread)
* Include activities (mail.activity.mixin)
* Track AEAT report state change
* Include new admin user in AEAT group by default
- Añadido Diseño de registro dr390e2019v100 para declaración de 2019
…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
New tax "IVA Exento No Sujeto" must be included in field 105.
…ax fee fields

Twin of 6c3a6f2, but for model 390.

This includes the complete revision of the rest of the fields for
putting them for both signs. At the end, the refund part is controlled
by move_type, not by balance sign.

Fixes OCA#1585
This field is for reflecting RE operations that are not included with
normal VAT, so we don't have such thing in Odoo Spanish CoAs.

The explanation for this field is:

```
102. Operaciones realizadas por sujetos pasivos acogidos al Régimen
especial del recargo de equivalencia: si el sujeto pasivo es persona
física o entidad en régimen de atribución de rentas en el Impuesto sobre
la Renta de las Personas Físicas que realiza alguna actividad de
comercio al por menor a la que sea aplicable el régimen especial del
recargo de equivalencia, hará constar en esta casilla el importe, de las
entregas de bienes realizadas en el ámbito de dicho régimen especial,
excluido el propio IVA.
```

The important part is the last "excluido el propio IVA", which gives
the key about the exclusion.
Fields [95], [97] and [98] are manually entered, and they should match
the result of the report, so we check this before letting users to
confirm and having the error on AEAT website.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod390
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod390/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_mod390
Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_mod390/
@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

@FernandoRomera
Copy link
Contributor Author

@pedrobaeza
¿Por favor, podrías pegarle un vistazo a los otros modelos para fusionarlos?

@pedrobaeza
Copy link
Member

Te he pedido una revisión a cambio 😉. Quid pro quo.

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

@pedrobaeza
Copy link
Member

/ocabot migration l10n_es_aeat_mod390

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Dec 27, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 27, 2022
54 tasks
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.

Podríamos hacer algo de squashing de commits, pero bueno, lanzo el merge:

/ocabot merge nobump

En los otros PRs estaría bien hacerlo.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 601899e into OCA:16.0 Dec 27, 2022
@OCA-git-bot
Copy link
Contributor

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

@FernandoRomera FernandoRomera deleted the 16.0-mig-l10n_es_aeat_mod390 branch December 28, 2022 16:40
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.