Skip to content

Comments

[IMP] l10n_ar_payment_bundle: restrict resequence linked payments#902

Open
cav-adhoc wants to merge 3 commits intoingadhoc:19.0from
adhoc-dev:19.0-t-53600-1-cav
Open

[IMP] l10n_ar_payment_bundle: restrict resequence linked payments#902
cav-adhoc wants to merge 3 commits intoingadhoc:19.0from
adhoc-dev:19.0-t-53600-1-cav

Conversation

@cav-adhoc
Copy link
Contributor

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

Copilot AI review requested due to automatic review settings February 10, 2026 21:01
@roboadhoc
Copy link
Contributor

Pull request status dashboard

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_get en 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 wizard en 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
@cav-adhoc cav-adhoc force-pushed the 19.0-t-53600-1-cav branch 2 times, most recently from a657687 to 0f98172 Compare February 11, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants