Saturday, February 28, 2026
2 changes · saas-18.4
Resolved issues and error corrections
QR codes on invoice PDFs now generate payment links for the next payable installment instead of the full remaining balance. This helps customers pay the correct amount and reduces payment reconciliation issues for installment-based invoices.
Original PR description
The link from QR code in invoice pdf was explicitly passing `amount`, `res_model`, `res_id` to create `payment.link.wizard` using create method which overrides default_get() of wizard. As a result, installment-based invoices were generating payment links for the full residual amount. Also the `active_id` and `active_model` is passed in context which writes to `res_model` and `res_id` so no need to add it in create again. By letting default_get() populate the wizard values, the payment link now correctly reflects the next payable installment. task-5401335 Forward-Port-Of: odoo/odoo#241825
This fix prevents Point of Sale invoices from being rounded when rounding is not required. It helps ensure invoice totals remain accurate and avoids small unintended accounting differences for businesses using POS invoicing.
Original PR description
Backport of https://github.com/odoo/odoo/pull/247223. opw-5890586 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#251104 Forward-Port-Of: odoo/odoo#249834