Monday, March 31, 2025
2 changes · saas-18.1
Resolved issues and error corrections
Fixes an error that appeared when customers tried to pay in Point of Sale using an online payment method. This helps shops complete online payment orders without interruption, improving checkout reliability.
Original PR description
Currently, when payin with an online payment method a traceack appears. Steps to reproduce: ------------------- * Create an online payment method (use Demo) * Associate this payment method with a shop * Open the shop * Create an order * Pay with online payment method > Observation: Traceback: Cannot read properties of undefined (reading 'isPaid') Why the fix: ------------ `server_id` does not exist anymore. Forwarding this fix: https://github.com/odoo/odoo/commit/926ba1890e54a46f10202afa2eb3f7bc176b2812 opw-4639109
Creating a new Belgian payroll slip for a salesperson with specific leave entries no longer triggers an error. This helps payroll teams process affected employee payslips without interruption before the record is saved.
Original PR description
Bug: When creating a new payslip for a salesperson with work entries of code LEAVE1731, we would get a traceback. Reason: Since we were creating the record and did not yet save, the code was calling a method that did an SQL query on ids of self which is empty. Fix: We created a new method that uses the orm instead to handle this specific case.