Daily updates from Odoo
Tuesday, April 15, 2025
4 changes · master
Resolved issues and error corrections
When a quality check is marked as failed with a failed quantity of zero, the system now treats the full quantity as passed. This prevents stock from being incorrectly sent to a failure location, keeping inventory movements accurate.
Original PR description
Issue Before This Commit: -------------------------------- For Quality Check per quantity, failing with 0 qty incorrectly marked all as failed and moved stock to the failure location. Steps to Reproduce: -------------------------------- 1. Create a quantity-type Quality Check Point for an operation. 2. Perform a Quality Check, click fail, enter failed qty as 0, and select a failure location. 3. Save the result and check stock moves. 4. The stock move is incorrectly transferred to the failure location. With This Commit: -------------------------------- This issue occurred due to an incorrect quantity assignment. Now, when the failed quantity is 0, all stock is correctly considered as passed and moves to the correct destination. Task-id: 4512017
This update adjusts internal tests after changes to default administrator permissions, making them more accurate and reliable. It also fixes access-related issues when archiving pricelists, copying subscription products, and confirming inter-company purchase orders, reducing errors for users with limited permissions.
Original PR description
Administrators groups have been recently removed from the default groups when creating a database, they're only added when demo data is installed. Tests have been adapted quickly, by adding all those groups in the core `AccountTestInvoicingCommon`, because he doesn't rely on the administrator to run the test setups (when all other tests do), but on a newly made test user `accountman`. This PR removes two of those generic groups from the `AccountTestInvoicingCommon` default groups, moving them to more specific descendants of the class, and fixes the broken tests as well. When possible to easily integrate the test class in the existing tests architecture (with the right parent), this approach is used, otherwise a sudo or an override of `default_groups` is added. task-4677987
This fix keeps spreadsheet charts and figures working correctly after recent spreadsheet changes. It helps users avoid display, insertion, editing, and collaboration issues when working with charts in documents and spreadsheets.
Original PR description
Adapt figures to spreadsheet changes. Task: 4189170
This fix keeps spreadsheet charts and figures working correctly after recent spreadsheet changes. It helps users insert, edit, copy, and collaborate on charts without disruptions or inconsistent behavior.
Original PR description
Adapt figures to spreadsheet changes. Task: 4189170