Thursday, February 27, 2025
4 changes · saas-18.2
Resolved issues and error corrections
This update makes a web performance test more consistent by using its own test user and company instead of relying on demo data. It helps reduce false test failures, improving confidence in automated checks without changing business functionality.
Original PR description
Create a separate user and company during `test_perf_load_menu`, this increases stability as we remove any different behavior coming from demo data. Runbot Error https://runbot.odoo.com/web#id=116670&view_type=form&model=runbot.build.error&menu_id=405 Runbot Error https://runbot.odoo.com/web#id=116671&view_type=form&model=runbot.build.error&menu_id=405 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 fix updates an automated test so it no longer depends on a pre-existing payment journal from demo data. It makes test results more reliable across setups where demo data is not installed, reducing false failures in validation pipelines.
Original PR description
The test uses `account.payment.register` but provides the journal_id explicitly instead of relying on the compute method. This causes issues when demo data is not installed as the test does not check if that journal exists. Runbot Error 116695 Runbot Error 116696
This fixes a stock picking report issue caused by an outdated packaging quantity reference. It helps prevent errors or incorrect report rendering when viewing stock picking operations.
Original PR description
Since 28b69daefddbb74ad9ac3fd55df88028e6de972b, the stock move line don't have the field `product_packaging_qty` to compute their quantity in the packaging unit. This commit removes a missing occurence of this field. rb-135015 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 fix updates the stock operations report to use the correct packaging quantity field. It prevents report generation from failing, helping warehouse teams access picking operation documents reliably.
Original PR description
Before this commit: The report will crash as the field `product_packaging_qty` does not exist (in 18.2 at least) Side effect of recent PR: https://github.com/odoo/odoo/pull/198067 rb-135015