Thursday, May 22, 2025
2 changes · 18.0
Enhancements to existing features
The calendar view no longer performs unnecessary permission checks before loading. This slightly improves loading speed while keeping the same access restrictions enforced by the system.
Original PR description
Before this commit, before loading the calendar view's data, we first checked whether the user had create and edit access rights (and we did that sequentially...). However, this is completely useless. If the user doesn't have those rights, the view's postprocessing, in python, adds `edit` and/or `create` attributes on the arch root node, to indicate operations that aren't allowed. This commit removes those 2 calls, thus speeding up a bit the loading of the calendar view. task-4603194 Part-of: odoo/odoo#199276 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
Test data was updated so vendor bill quantities are set before prices, preventing automatic vendor price recalculations from changing expected results. This keeps accounting, localization, and subscription test coverage stable after vendor price behavior improvements.
Original PR description
The corresponding community PR enables the use of a product's vendor prices on vendor bills. This means that unit prices are recomputed when the qty changes. Some tests set the qty after the price, causing a price computation. To avoid this, we set the qty first, then theprice. No Task (18.0 Bug pad)