Fork Sync Branch 18.0#67
Merged
Merged
Conversation
… payment amounts - Modified _onchange_amount method to exclude linked payments (with main_payment_id) - Linked payments now keep the amount suggested by x2many context - Added test_link_payment_onchange_does_not_override_remaining_amount test - Test validates that linked payments maintain their suggested amount Change note: Se corrigió un problema donde al crear pagos vinculados dentro de un payment bundle, el monto se sobrescribía incorrectamente. Ahora los pagos vinculados mantienen automáticamente el monto que les corresponde según el saldo pendiente. closes #1062 Signed-off-by: rov-adhoc <rov@adhoc.com.ar>
closes #1059 Signed-off-by: rov-adhoc <rov@adhoc.com.ar>
…rnal is default Add AccountMoveLine inherit to override action_register_payment. When the first available journal has the payment_bundle payment method (inbound or outbound), set default_amount to 0 in the action context so the payment wizard opens with an empty amount instead of the line's residual amount. Use setdefault to ensure context key is created if not present. Change note: Al registrar un pago desde una línea de asiento, si el diario por defecto tiene configurado el método de pago Bundle, el monto sugerido en el formulario de pago se establece en 0. closes #1072 Signed-off-by: rov-adhoc <rov@adhoc.com.ar>
…5e68e1756d3d60648e686e438ccf530740323dd0539 closes #1068 Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
… payment company When `default_company_id` is passed via context, a journal previously set as user default via `ir.default` and belonging to a different company could trigger the `_compute_company_id` precompute, silently overwriting the intended company with the environment's main company. Fix: in `default_get`, check whether the resolved `journal_id` belongs to the requested company. If not, replace it with the ir.default journal for that company (if one exists), or clear it so Odoo can compute a safe default. closes #1078 Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
sireko
approved these changes
May 21, 2026
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.