-
-
Notifications
You must be signed in to change notification settings - Fork 520
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][ADD] l10n_es_aeat_sii_force_type: module to force "Tipo de Comunicación" for SII #3366
[16.0][ADD] l10n_es_aeat_sii_force_type: module to force "Tipo de Comunicación" for SII #3366
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical approval
This PR has the |
Hola @pedrobaeza, ¿Podrías revisar esto? Muchas gracias por tu tiempo. Saludos |
@@ -0,0 +1 @@ | |||
Este modulo no requiere de ninguna configuración. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sí que la requiere: la casilla en las posiciones fiscales.
@@ -0,0 +1,2 @@ | |||
El objetivo del módulo es poder remitir correctamente al SII las devoluciones de IVA en Régimen Especial de Viajeros. Para ello, se habilita dentro de las posiciones fiscales la opción de forzar el "Tipo de Comunicación" para el SII. Si el valor está vacío, prevalece la lógica implementada en l10n_es_aeat_sii. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quita de aquí lo de la casilla y que vaya a CONFIGURE.rst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No se deben añadir archivos vacíos.
@@ -0,0 +1 @@ | |||
No requiere ninguna consideración especial para su instalación. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cuando no hay nada que denotar, se quita el archivo y ya está.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fuera archivos vacíos
@@ -0,0 +1,11 @@ | |||
Desde la pestaña *SII* de la configuración de una posición fiscal, se puede |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto es repetido, e iría en CONFIGURE. Aquí indica dónde se cambia de la factura el tipo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este icono no sigue la estela del AEAT y no tiene que ver en principio con el tema del módulo.
"Allow force communication type on invoices" | ||
) | ||
|
||
sii_default_force_communication_type = fields.Selection( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No se puede poner luego otra (y también con la d para ser correcto):
sii_default_force_communication_type = fields.Selection( | |
sii_forced_communication_type = fields.Selection( |
@api.depends("fiscal_position_id") | ||
def _compute_sii_registration_key(self): | ||
res = super()._compute_sii_registration_key() | ||
for invoice in self.filtered("fiscal_position_id"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto no es correcto de asignar otro campo que no tiene que ver con el compute.
c53bc75
to
047098c
Compare
Hola @pedrobaeza, Se han llevado a cabo los cambios solicitados. Gracias. Saludos |
Revisad por favor el CI |
047098c
to
dddce86
Compare
Corregido @pedrobaeza, gracias. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at bff612f. Thanks a lot for contributing to OCA. ❤️ |
Punto 3.13:
https://sede.agenciatributaria.gob.es/Sede/impuestos-tasas/iva/iva-libros-registro-iva-traves-aeat/preguntas-frecuentes/3-libro-registro-facturas-expedidas.html?faqId=272b4256ad6ca510VgnVCM100000dc381e0aRCRD