Daily updates from Odoo
Sunday, March 22, 2026
4 changes · saas-19.2
Resolved issues and error corrections
This update fixes a user experience issue where selecting 'Select All' for employee declarations didn't generate PDFs for all records. Now, all records are processed when 'Select All' and 'Generate PDFs' are used. Additionally, users can easily regenerate PDFs for existing documents.
Original PR description
This PR solves the following issues: - In the list view of employee declarations, when the records span to multiple page, pressing `Select all` and the `Generate PDFs` button only generates the PDFs of the records selected on the current page, which is confusing for users who expect all records to be processed. - When you select lines that have a generated PDF, you should have an option to regenerate the PDF if needed. At the moment, the Generate PDFs button only works on lines in draft state. task-5909426 Forward-Port-Of: odoo/enterprise#107232
This update resolves issues related to payment processing within the Point of Sale (POS) system. Specifically, it corrects a bug where multiple payment methods on a single order caused errors and ensures that a customer is required when using certain payment methods (like receivable or cash exceeding 10,000 JOD).
Original PR description
This commit fixes the following issues 1) Having more than one payment method on a pos.order led to an error 2) Customer should be required if payment method is receivable, or cash with amount > 10,000 JOD task-6005832 Forward-Port-Of: odoo/odoo#255222 Forward-Port-Of: odoo/odoo#252631
This update resolves an issue where multiple stock valuation closings with different accounting dates caused an 'Invalid Operation' error. The fix ensures the system correctly uses the accounting date when validating closing entries, preventing this conflict and ensuring accurate inventory valuation.
Original PR description
**Issue**: Making two stock valuation closings with different accounting dates in the past, on the same day, leads to an "Invalid Operation" error. **Steps to reproduce**: - In settings, set…
**Issue**: Making two stock valuation closings with different accounting dates in the past, on the same day, leads to an "Invalid Operation" error. **Steps to reproduce**: - In settings, set inventory valuation at invoicing - Create 2 bills of a storable product:: - `Accounting date` = `bill date` = today - 2 days - `Accounting date` = `bill date` = today - 4 days - Go to Accounting > Review > Inventory > Inventory Valuation - Set the day to today - 3 days, generate and post the entry - Go back the Inventory Valuation - Set the day to today - 1 day, generate the entry -> Invalid Operation error: the system thinks it exists a closing entry after the selected date. **Cause**: The regression was introduced by commit https://github.com/odoo-dev/odoo/commit/594654deb84ba45e9a6a765b89de79e4ce4e4b50 Indeed, `_get_last_closing_date` was modified to prioritize the creation date of the closing instead of its accounting date: https://github.com/odoo/odoo/blob/594654deb84ba45e9a6a765b89de79e4ce4e4b50/addons/stock_account/models/res_company.py#L336 As a consequence, the second closing with at_date = today - 1 day was compared against last_closing_date = today (creation date): https://github.com/odoo/odoo/blob/b3559145febc16271c78ca516af9d7e99bf3452f/addons/stock_account/models/res_company.py#L53-L55 **Solution** To avoid to revert this commit https://github.com/odoo-dev/odoo/commit/594654deb84ba45e9a6a765b89de79e4ce4e4b50 fix, both creation and accounting date are used. opw-5559264 Forward-Port-Of: odoo/odoo#249734
This update resolves a bug where discounts weren't consistently applying correctly when switching between fiscal positions (which handle taxes) in the Point of Sale system. The fix ensures that discount calculations now accurately reflect the current fiscal position, preventing incorrect line amounts. This improves the reliability of pricing and order totals.
Original PR description
Steps to reproduce ------------------ 1. Make two fiscal positions, one applying taxes, and the other not. 2. Open pos, select the FP that applies taxes, and add a product 3. Now apply a global discount of 10% 4. Chagne to the FP that does not apply any taxes. Notice that the discount line amount is still computed based on the the taxes from the old FP. Also, another "unrelated" bug, when adding products, the global discount was not always updating. Please see the individual commits' messages for more details on each fix. opw-5443716 Forward-Port-Of: odoo/odoo#247357 Forward-Port-Of: odoo/odoo#246387