[IMP] l10n_ar_payment_bundle: restrict resequence linked payments#902
Open
cav-adhoc wants to merge 3 commits intoingadhoc:19.0from
Open
[IMP] l10n_ar_payment_bundle: restrict resequence linked payments#902cav-adhoc wants to merge 3 commits intoingadhoc:19.0from
cav-adhoc wants to merge 3 commits intoingadhoc:19.0from
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Este PR evita que el wizard de resecuenciación de asientos (account.resequence.wizard) permita resecuenciar movimientos asociados a pagos que están vinculados a un payment bundle, para no romper la relación y prevenir inconsistencias posteriores.
Changes:
- Añade un override de
default_geten el wizard de resecuenciación para bloquear el flujo cuando los movimientos activos pertenecen a pagos ligados a un bundle (main_payment_id). - Registra el paquete
wizarden el módulo para que se cargue el nuevo override.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| l10n_ar_payment_bundle/wizard/account_resequence.py | Agrega el bloqueo al abrir el wizard si hay pagos con main_payment_id detrás de los moves seleccionados. |
| l10n_ar_payment_bundle/wizard/init.py | Importa el wizard para que se registre. |
| l10n_ar_payment_bundle/init.py | Importa el subpaquete wizard desde el módulo. |
This commit adds a check to the account resequence wizard to prevent resequencing of payments linked to a payment bundle. This is necessary to avoid breaking the link between the payments and the payment bundle, which could lead to inconsistencies in the payment records and potential issues with reconciliation and reporting
a657687 to
0f98172
Compare
0f98172 to
d429c7f
Compare
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.

This commit adds a check to the account resequence wizard to prevent resequencing of payments linked to a payment bundle. This is necessary to avoid breaking the link between the payments and the payment bundle, which could lead to inconsistencies in the payment records and potential issues with reconciliation and reporting