forked from OCA/l10n-spain
-
Notifications
You must be signed in to change notification settings - Fork 0
[18.0][IMP] l10n_es_aeat: add triggers #3
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
Open
AaronHForgeFlow
wants to merge
223
commits into
18.0-mig-l10n_es_aeat
Choose a base branch
from
18.0-mig-l10n_es_aeat-trigger
base: 18.0-mig-l10n_es_aeat
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[18.0][IMP] l10n_es_aeat: add triggers #3
AaronHForgeFlow
wants to merge
223
commits into
18.0-mig-l10n_es_aeat
from
18.0-mig-l10n_es_aeat-trigger
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…c module for aeat models, 347 module was portedto v6.0 and adds new module to print AEAT model 349.
…ueñas mejoras generales (vistas, traducciones, código) y corrección pequeño bug por un olvido en la adaptación de la v5 a la v6
…s formatted correctly. With this number 'dec_part' would become 100 (instead of 0) and fail in the final assertion. Instead of providing a workaround for this case, I simply replace the formatting with '%0*.*f' which seems easier specially because it already does the appropriate rounding.
…recía Pexego en la licencia, quedan los compartidos.
…en la 6.0 de estos módulos
…ron marcados como no instalables mientras no se compruebe que funcionan o migren, para poder usarlos o probarlos se debería poner el atributo installable de los ficheros __openerp__.py de cada módulo a True
- Algo de PEP8 y refactorización de código [MIG] l10n_es_aeat_mod303: Migración a v7 del módulo con las siguientes mejoras: - Convenciones de la comunidad. - PEP8 en la mayoría de código. - Icono para el módulo. - Adaptación de vistas a las posibilidades de la v7. - Restringidas las cuentas bancarias a las de la compañía.
…más código. - Añadido wizard para ver el resultado de la exportación sin necesidad de tener el módulo document. - Puesta transición de estados sin workflow. - Pequeños ajustes de interfaz. [IMP] l10n_es_aeat_mod303: Adaptado al nuevo mecanismo. Se elimina workflow anterior mediante un script de migración.
* Eliminación de la mayoría de warnings que da runbot. * Usar librería unidecode en lugar de reemplazos manuales para las tildes y caracteres no soportados.
[MIG] Eliminados módulos no migrados a v7
- Mover import de unidecode para evitar error
* unificar campos en el módulo base + migrar a la nueva api. * README.rst mejorado * mejora de código * usabilidad del atributo _aeat_number * secuencia automatica * control al instanciar los modelos * correcciones necesarias para el correcto funcionamiento de los módulos
…do + tratamiento residentes 216 y cálculo
…zado Presentación del Modelo AEAT 303 ================================ * Incluye un motor genérico para obtener los totales de códigos de impuestos de manera parametrizada y con posibilidad de versionado por fechas * Incluye un motor de parametrización de las exportaciones a formato BOE con posibilidad de versionado por fechas. * Se incluyen las parametrizaciones de ambos motores para el 303.
…ón cuando se hace la declaración * Generador del asiento de regularización con cargo a un proveedor "Agencia Estatal de Administración Tributaria" creado al efecto. Configuración ============= Para activar la creación del asiento de regularización en un modelo, hay que poner en el modelo correspondiente el campo allow_posting a True, y establecer en la configuración de impuestos los conceptos que se regularizarán con el flag "to_regularize".
…lugar de recordset + gestionar grupos de compañías
PR related with: OCA#236
====================== AEAT - Prorrata de IVA ====================== Módulo para gestionar la prorrata del IVA en las declaraciones de la AEAT (por el momento, en el modelo 303), según el artículo 92 de la Ley 37/1992, de 28 de diciembre, del Impuesto sobre el Valor Añadido. Uso === Realizando el modelo 303, se puede seleccionar si se desea aplicar prorrata de IVA. Prorrata general ---------------- En el caso de seleccionar "Prorrata general", aparece un nuevo campo llamado "Porcentaje de prorrata de IVA" que puede ser rellenado a mano. Además, cuando se realice el asiento de regularización, la parte proporcional de la cuota no deducida se compensará como gasto. Se ha incluido un calculador del porcentaje de prorrata, utilizable en 2 casos: * Al comienzo de un nuevo ejercicio, para determinar el porcentaje provisional a aplicar hasta el último periodo de ese ejercicio. * En la última declaración del ejercicio, para determinar el porcentaje definitivo de prorrata, y sobre el que se compensará la diferencia. Problemas conocidos / Hoja de ruta ================================== * La prorrata especial de IVA no está contemplada aún.
…w other values in export config
Creación de un nuevo modelo en `l10n_es_aeat` llamado *aeat_mixin*, del que heredan *sii.mixin* (ya existente) y un nuevo *verifactu.mixin*. Refactor de *sii.mixin* pasando funcionalidad a *aeat_mixin* Se han renombrado varios campos sii_* a aeat_* ya que serán utilizados por ambos.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-17.0/l10n-spain-17.0-l10n_es_aeat Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_aeat/
Since odoo/odoo#179797, IVA 5% taxes templates are deactivated, and if you calculate an AEAT report containing them, they are not included as not being included in the m2m field. This commit takes this situation into account. TT51059
It's more significant to have first the latest AEAT reports than the first ones.
Allow to drill through in the tax summary to list journal items that leads to the base and tax amounts. As we are on this, there's a tool method now in base module l10n_es_aeat for opening this kind of view, and fixing that the journal items was always open with move grouping by default. TT52996
…ments The following dependencies: cryptography, zeep, and requests are used in different modules, but we remove them from being required because they are already included in Odoo's requirements.txt. Having them in both places creates maintenance overhead and potential conflicts.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-17.0/l10n-spain-17.0-l10n_es_aeat Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_aeat/
Models like 303 and 390 have a lot of fields, so showing them all even if the amount is 0 can be counterproductive. Thanks to the magic of one2many fields, we can continue calculating all the fields and showing them for traceability purposes, but filter out in another o2m field those with amount with hardly no cost, and now 2 tabs are shown for these lines, having precedence the filtered one.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-17.0/l10n-spain-17.0-l10n_es_aeat Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_aeat/
dcd4311
to
a28cf52
Compare
9f9ebc6
to
7f2ea81
Compare
7f2ea81
to
d622a26
Compare
d622a26
to
525539c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Needed for the migration of l10n_es_aeat_sii_oca