[FIX] l10n_uy_ux: Extend unlink method to prevent deletion of l10n_uy_edi_error#379
Closed
jue-adhoc wants to merge 1 commit intoingadhoc:18.0from
Closed
[FIX] l10n_uy_ux: Extend unlink method to prevent deletion of l10n_uy_edi_error#379jue-adhoc wants to merge 1 commit intoingadhoc:18.0from
jue-adhoc wants to merge 1 commit intoingadhoc:18.0from
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Este PR implementa una extensión del método unlink en el modelo l10n_uy_edi.document para prevenir la eliminación automática de documentos EDI que contienen errores. El módulo oficial l10n_uy_edi elimina estos documentos después de action_post, pero este cambio preserva los documentos con errores para que sean visibles en las facturas posteadas.
Cambios clave:
- Reordenamiento de imports siguiendo PEP8 (imports de stdlib antes de imports de Odoo)
- Nuevo método
unlink()que filtra documentos con errores y solo elimina aquellos sin errores
5307679 to
9edd9c3
Compare
9edd9c3 to
49b5c93
Compare
Contributor
|
@roboadhoc r+ |
roboadhoc
pushed a commit
that referenced
this pull request
Dec 16, 2025
…_edi_error closes #379 Signed-off-by: Victoria Halac - hav (#l10n) <hav@adhoc.inc>
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
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.

No description provided.