Repository navigation
Conversation
…ayer partner Cover the two behaviors the module adds on top of account_payment: - with the company option on, portal users can only pay the invoice with the oldest due date; - a portal payment made by another contact is registered for the invoice partner.
Contributor
Contributor
|
@roboadhoc r+ nobump rebase-ff |
Contributor
|
Merge method set to rebase and fast-forward. |
roboadhoc
pushed a commit
that referenced
this pull request
Oct 22, 2026
Part-of: #467 Signed-off-by: Franco Leyes <lef@adhoc.com.ar>
roboadhoc
pushed a commit
that referenced
this pull request
Oct 22, 2026
Part-of: #467 Signed-off-by: Franco Leyes <lef@adhoc.com.ar>
roboadhoc
pushed a commit
that referenced
this pull request
Oct 22, 2026
…ayer partner Cover the two behaviors the module adds on top of account_payment: - with the company option on, portal users can only pay the invoice with the oldest due date; - a portal payment made by another contact is registered for the invoice partner. closes #467 Signed-off-by: Franco Leyes <lef@adhoc.com.ar>
roboadhoc
pushed a commit
that referenced
this pull request
Oct 22, 2026
Part-of: #467 Signed-off-by: Franco Leyes <lef@adhoc.com.ar>
roboadhoc
pushed a commit
that referenced
this pull request
Oct 22, 2026
Part-of: #467 Signed-off-by: Franco Leyes <lef@adhoc.com.ar>
This branch was previously deployed
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.

Tarea: https://www.adhoc.inc/odoo/project.task/76727
Migración de
academic_payment_portalde 19.0 a 20.0.Qué cambió
Manifiesto: la versión pasa a
20.0.1.0.0yinstallableaTrue.depends(account_payment),auto_instally la licencia (AGPL-3) no cambian.Código: sin cambios. El Python y el XML son los de 19.0. Nada de lo que usa el módulo cambió en 20:
_has_to_be_paidy_create_paymentdeaccount_paymentsiguen con la misma firma.account.moveque lee existen con el mismo tipo.account_batch_paymentde los ajustes sigue enaccount.res_config_settings_view_form.Traducciones: se exportaron
.potyes.popara 20 y se tradujo el nombre del módulo. "Display Name" toma la redacción del core.Tests nuevos (
tests/test_portal_payment.py). Prueban el código de 20, no son red de regresión de 19, porque el módulo no tenía tests:Se vieron fallar rompiendo el módulo a propósito: T1 sin la condición de
_has_to_be_paid, T2 sin forzar el partner en_create_payment.Notas de cierre
Extensión de
account_payment_multi: el controller la extiende dentro de untry/except ImportError, yaccount_payment_multino es instalable en 19.0 ni en 20.0. Probado en una base 20:addons_path, el import falla y no se define nada;get_leaf_classessolo recorre módulos instalados), así que no tiene efecto ni rompe nada.Vuelve a tener efecto cuando ese módulo se migre.
Data: no hace falta script. El único campo guardado,
res.company.users_can_pay_only_oldest_invoice(Boolean, default True), es igual que en 19.0.Comportamientos que ya estaban en 19 y no se tocan en esta migración, a evaluar aparte:
Verificación: