-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
[17.0][MIG] l10n_es_aeat_sii_oca: Migration to v17 #3737
base: 17.0
Are you sure you want to change the base?
[17.0][MIG] l10n_es_aeat_sii_oca: Migration to v17 #3737
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.
Un par de comentarios, antes de revisarlo funcionalmente:
- En el README (apartado DESCRIPTION) se sigue haciendo referencia al queue_job. Ese punto habría que quitarlo.
- Puedes poner a Sygel como autores? Hemos hecho un buen refactoring y creo que es justo estar ahí. @pedrobaeza entiendo que no hay problema en ello, no?
Gracias!
Estoy de acuerdo con la co-autoría en este caso. Bien es cierto que AuresTIC (cc @zamberjo) por trabajos pasados también la merece. |
1fb8cbf
to
7c0456a
Compare
@HaraldPanten Cambios aplicados. En cuanto a los autores, he añadido a Sygel. Si finalmente tengo que añadir a AuresTIC, lo hago en un momento. |
Incluid por favor #3736 |
7c0456a
to
fc0ea1f
Compare
@pedrobaeza incluido |
/ocabot migration l10n_es_aeat_sii_oca Habría que incluir (adaptando) #3740 para los nuevos impuestos de octubre. |
Para incluir también #3741, y se pueden juntar ambos commits, ya que es un leftover del primero. |
ef7a702
to
7455920
Compare
@pedrobaeza commits añadidos |
Incluye por favor #3759, y a ver si esta semana lo puedo revisar ya para fusionarlo. |
7455920
to
6511e98
Compare
@pedrobaeza commit #3759 añadido |
6511e98
to
69e97db
Compare
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.
Functional Review: LGTM
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.
Seems to be OK.
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.
Disculpad, para el SII vamos a añadir la compatibilidad con DUA (impuestos que ya llevan en el core) en este mismo módulo, no me acordaba.
Queda este aspecto pendiente.
82c6319
to
2467f8e
Compare
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.
Functional Review: LGTM
@pedrobaeza @etobella @acysos Ya se puede revisar. |
Steps to reproduce: - Enable SII in a company with connector with a delay of 48 hours. - Create and validate an invoice. A job is configured for being executed in 48 hours. - Next day, filter "Not sent to SII", and do Action > Send to SII. Result: the pending invoices are requeued and the delay is reapplied, so the invoices will be sent in 48 hours from that moment. Doing this indefinitely, the invoices will never be sent! Although it's a weird behavior, let's avoid it not requeuing the invoices with pending jobs. For this, a little refactor in the code has been done, not calling _cancel_sii_jobs, but filtering another way, and not removing previous failed jobs, which can be considered the only functional change, and it's not bad IMO. TT50641
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_aeat_sii_oca Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_sii_oca/
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-16.0/l10n-spain-16.0-l10n_es_aeat_sii_oca Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_aeat_sii_oca/
Following odoo/odoo@fbc7214, this commit puts the new taxes on the corresponding SII maps for being able to send invoices containing them to the AEAT service. TT51016
Similar to OCA#3744 TT51159
…atibilities (hr_expense for example) Steps to reproduce: - Install hr_expense - Create a purchase type journal named Expenses and uncheck the Enable SII field. - Go to Expense > Configuration > Settings and define in Employee Expense Journal the Expenses journal previously created - Create an expense and an expense sheet - Click on the Submit to manager button - Click on the Approve button - Click on the Post journal entries button - The journal entry will be created correctly without any error TT51825
…abled field TT52143
96cda40
to
f31ee12
Compare
@HaraldPanten este PR está bloqueado por tu parte. ¿Que quedaría por realizar del DUA? |
f31ee12
to
aadcf51
Compare
Lo del DUA ya se añadió. @AaronHForgeFlow Como estás haciendo la migración a V18, puedes revisar este PR primero? Gracias. |
@HaraldPanten He hecho pruebas y no he encontrado ningún error. Sigo revisando los procesos, pero tengo poca experiencia en la localización y puede que se me escapen cosas. |
¿Podéis hacer commits separados para cada módulo? es más entendible luego a la hora de migrar. Supongo que los cambios en el modelo de ir.cron.trigger son necesarios en el módulo base de AEAT porque los usarán otros módulos de sii, facturae y demás. |
aadcf51
to
f0d99ee
Compare
@AaronHForgeFlow Se ha separado la parte de los triggers del módulo l10n_es_aeat en otro commit. |
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.
LGTM 👍🏻
Supersedes: #3504
En esta migración se han incluido algunos cambios con respecto a v16:
Quedará pendiente crear un nuevo campo sii_start_date en res.company, que serviría para que la función _compute_sii_enabled de sii.mixin lo tenga en cuenta para dar valor al campo sii_enabled.
T-5833