Daily updates from Odoo
Monday, October 21, 2024
3 changes · master
Enhancements to existing features
Payment terminal credentials can now be stored once and reused across multiple point-of-sale terminal methods from the same vendor. This reduces duplicate setup work, saves time when adding payment methods, and makes terminal configuration easier to maintain.
Original PR description
Before this commit: ========== - Previously, there was no model for storing mandatory credentials for different terminal methods. - So, it was necessary to enter the same credentials with different terminal IDs for various payment terminal methods provided by the same vendor. - This resulted in the duplication of credentials. After this commit: ========== - So, we are introducing a new 'pos.payment.provider' model for storing the same mandatory credentials in one model. - We allow credentials to be entered once and used across multiple terminal payment methods. This enhancement streamlines the function of payment terminals and saves time when new payment methods are created. Related PR: - Community: odoo/odoo#172471 - Upgrade: odoo/upgrade#6248 task-3506646
Knowledge now uses database indexes better for article permissions and hierarchy lookups, while removing indexes that were not useful. This should reduce server response times, especially when opening large Knowledge article lists or checking access rights.
Original PR description
This PR aims to optimize Knowledge by appropriately setting SQL indexes on the fields that are frequently used to join tables and filter out records. The new indexes should help reducing the server…
This PR aims to optimize Knowledge by appropriately setting SQL indexes on the fields that are frequently used to join tables and filter out records. The new indexes should help reducing the server response times. For the `knowledge.article` model: 1. Remove the `is_article_item` index Setting an index on a boolean field is generally speaking not recommended as the field has only two possible values and does not allow us to discriminate the records efficiently. Indeed, the index will be used only when searching for an uncommon boolean value. In the other cases, the index does not provide much benefit compared to a full table scan. PostgreSQL will then favor another index that will better reduce the search space of the query. 2. Remove the `category` index The index set on the `category` column is almost never used as we never search for articles based on their categories and we never join tables based on that value. The index could be used when the user applies a search filter in the list view but, in that case, PostgreSQL could use another index that better discriminate the records. 3. Add index on `parent_id` The `parent_id` field is heavily used in the user's permission computation. Adding an index for that field will ensure that we can quickly explore the article hierarchy and compute the user's permissions efficiently. For the `knowledge.article.member` model: 1. Add index on `article_id` The `article_id` field is heavily used in the user's permission computation. Adding an index for that field will ensure that we can quickly compute the user membership on the article. task-4046060
Missed call notifications for VoIP are now shown directly on the phone icon in the top bar instead of as separate top-bar text. This makes call alerts easier to find while keeping the interface cleaner, and the call dropdown no longer opens automatically by default.
Original PR description
<h3>PURPOSE</h3> - Move missed call notifications in the top bar text to the top icon <h3>SPECIFICATION</h3> - Move the VOIP missed called counter to the systray item, like as discuss. - Stop opening the dropdown by default. Task-3392951