Friday, January 5, 2024
4 changes · 17.0
Enhancements to existing features
This draft change updates a browser rendering library used by the web editor. It is likely intended to improve how page content is captured or displayed, with limited direct business impact based on the available details.
Original PR description
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
Adds a ready-to-use chart of accounts and related tax setup for large businesses operating in China. This helps larger Chinese companies start accounting configuration faster and with settings better aligned to their needs.
Original PR description
Adds a new COA for large businesses in China to better support their needs out of the box. Also implements new taxes for the same large businesses. 3202831 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This draft updates parts of the document signing flow, including the PDF signing view and the name/signature dialog. The details are limited, but the changes appear focused on improving how users complete electronic signatures.
The Knowledge app now caches permission checks when users search for articles in the command palette. Instead of checking user permissions every time someone types in the search bar, the system remembers the result from the first check and reuses it. This reduces unnecessary server requests and makes the search experience faster.
Original PR description
When the user enters specific terms in the command palette, and there is no article matching those terms, the system will display a helper that allows the user to quickly create a new article with…
When the user enters specific terms in the command palette, and there is no article matching those terms, the system will display a helper that allows the user to quickly create a new article with the provided name. The helper will only be shown if the user has the permission to create a new article in the database. To verify this permission, the system will perform an RPC call to the server each time the helper needs to be displayed. In practice, it's highly unlikely for the user to lose the `create` privilege between two searches. Therefore, one can cache the result of the RPC call that checks if the user is allowed to create a new article. Caching this result should reduce the number of RPC calls triggered when the user types something in the search bar. To implement the caching mechanism, we will simply use the `memoize` utility function to cache the promise checking the user's `create` privilege. The system will perform the RPC call on the first invocation, cache the promise, and reuse it for subsequent calls, thereby improving speed. task-3603346