Friday, February 21, 2025
3 changes · saas-18.2
Resolved issues and error corrections
This fixes an issue that could prevent invoices from being settled through Point of Sale when the system encountered complex linked data. The change improves reliability for payment settlement workflows and helps avoid interruptions at checkout or during invoice processing.
Original PR description
- Avoid `Circular reference` error when trying to stringify objects with circular reference. - Here I've used MDN proper solution that you can find here : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cyclic_object_value#examples enterprise PR: https://github.com/odoo/enterprise/pull/79605 task-id: 4587306 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes issues affecting portal prepayment flows in sales. Customers using the portal should now have a more reliable payment experience, reducing checkout friction and support follow-up.
Original PR description
This commit fixes a few issues introduced in 12f04ee when converting the portal prepayment public widget to Interaction.
Point of Sale users can once again settle a customer's open invoice directly from the PoS, even when that invoice is not linked to a PoS order. The payment screen now opens with the amount due pre-filled, reducing manual work and helping stores collect outstanding balances more smoothly.
Original PR description
- Since this PR(https://github.com/odoo/enterprise/pull/77019) we were not able to settle open invoices in PoS anymore. - Now when the customer have an existing due and that due is not linked to any `pos.order` (like an open invoice), we can now settle it in PoS. To do this we redirect the user to the payment screen and pre-fill the amount to settle. - Add default `settle_product` & `deposit_product` for new `pos.config`. Also add these products for config for which session is in **Opening control** state. task-id: 4587306