Tuesday, February 25, 2025
7 changes · saas-18.1
Resolved issues and error corrections
Live chat conversations no longer close automatically just because one operator leaves. The chat remains active as long as another operator or the visitor is still present, helping avoid unnecessary interruptions for customers and support teams.
Original PR description
Before this PR, live chat was closed automatically when the operator left the channel. However, it should not be closed until the last operator or the visitor leaves. This PR fixes the issue. task-4575328 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
Point of Sale now applies the most appropriate pricelist rule when product quantity reaches higher thresholds. This ensures customers are charged the intended price for quantity-based pricing instead of staying on an earlier rule.
Original PR description
**Current behavior:** Using a pricelist with multiple items for the same product (tmpl) where each item has a different `min_quantity` threshold, the "first" available pricelist item/rule will always…
**Current behavior:** Using a pricelist with multiple items for the same product (tmpl) where each item has a different `min_quantity` threshold, the "first" available pricelist item/rule will always be applied to the order. **Expected behavior:** The rule with the maximum `min_quantity` value should be preferred. **Steps to reproduce:** 1. Create a new product & pricelist, where the pricelist has 2 pricelist items for the product * First item: `min_quantity: 2`, `fixed_price: 10` * Second item: `min_quantity: 3`, `fixed_price: 20` 2. Open a new PoS session and select 2 of the product -> see that the price is correct per the price list rule 3. Add a 3rd product unit -> the same pricelist rule is used instead of the newly-available one **Cause of the issue:** Since commit: 5620a16 when the latest rule selection logic was added, there isn't consideration made for which rule should "tie-break". **Fix:** When looping over available product_template rules, only over-write the last rule if the current has greater `min_quantity`. opw-4533775
Point of Sale receipts and order lines now show unit prices again, making totals and discounts clearer for customers and cashiers. This fixes a regression where unit prices disappeared and discounts appeared to apply to the total price instead of the individual item price.
Original PR description
## Versions:
saas-18.1+
## Issue:
Unit prices are not displayed on tickets anymore and discounts are shown on total price.
## Steps to reproduce:
*Ensure PoS `Line Discounts` are enabled*
- Open `Furniture Shop` register from `Point of Sale` app;
- Add:
- 10 `Desk Pad`:
- Apply 10% discount on line;
- 10 `Office Combo` with `Desk Pad`, `Desk Combination` and `Office Chair Black`:
- Apply 10% discount on each component line;
- Click on `Payment` button;
- Select `Cash` and validate;
- See the ticket without unit prices.
## Cause:
The display existed in 18.0 but has been removed by
https://github.com/odoo/odoo/pull/191929/files#diff-395672f7326ee93c1b8e46731e3e0e6fb0af9d0f61e289dd5dd7a0c97a037484L23-L32
The [related ticket](https://www.odoo.com/odoo/project.task/4414057) suggests units and prices removal for combination products' components only.
opw-4579481
opw-4579816This update brings the spreadsheet engine to a newer version with fixes for chart behavior, collaborative editing, sheet duplication, data validation, and right-to-left text selection. It also improves formula performance and adds the LOG spreadsheet function, helping users work more reliably with complex spreadsheets.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/6789c1c74 [REL] 18.1.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/4b1da0abd [FIX] composer: broken…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/6789c1c74 [REL] 18.1.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/4b1da0abd [FIX] composer: broken right-to-left selection Task: 4592612 https://github.com/odoo/o-spreadsheet/commit/db2e9ec0e [REF] tests: remove mock content editable helper Task: 4592612 https://github.com/odoo/o-spreadsheet/commit/2728c9a83 [REF] composer: extract selection from content editable helper Task: 4592612 https://github.com/odoo/o-spreadsheet/commit/9e9df52c9 [PERF] formulas: add a cache on linear search functions Task: 4080146 https://github.com/odoo/o-spreadsheet/commit/d27e7ab7c [FIX] uuid: remove black magic to generate uuid Task: 4574102 https://github.com/odoo/o-spreadsheet/commit/40df8e21a [FIX] tests: remove mock uuid Task: 0 https://github.com/odoo/o-spreadsheet/commit/fbe2eb806 [FIX] data: migration 14.5 never run Task: 0 https://github.com/odoo/o-spreadsheet/commit/b017b29a0 [IMP] monkey party: add a command to run monkey party test Task: 0 https://github.com/odoo/o-spreadsheet/commit/f24c862fd [FIX] Charts: Hide datasets instead of filtering them Task: 4577744 https://github.com/odoo/o-spreadsheet/commit/b7b42c515 [FIX] package: saas-18.1 is no longer the latest version Task: 0 https://github.com/odoo/o-spreadsheet/commit/fb7464832 [IMP] functions: add LOG function Task: 4547230 https://github.com/odoo/o-spreadsheet/commit/38b0463f4 [FIX] data_validation: reject cmd with range on invalid sheet Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/a5af9a6a5 [IMP] tests: improve toHaveSynchronizedExportedData perf Task: 0 https://github.com/odoo/o-spreadsheet/commit/9f5a7bad8 [FIX] tables: duplicate table in deterministic order Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/2aa6556f0 [FIX] pivot: deep copy pivot data Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/ad111bd1d [FIX] table: reject cmd with range on invalid sheet Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/df0eeec2c [FIX] pivot: reject command with invalid pivot id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/b534ad0b3 [FIX] evaluation: re-trigger evaluation after DUPLICATE_SHEET Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/196515daa [FIX] evaluation: invalidate on concurrent dropped command Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/9956f97ae [FIX] header_position: compute only existing sheets Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/e669f114c [IMP] jest: add toHaveSynchronizedEvaluation matcher Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/da3a520f9 [FIX] charts: duplicate chart in deterministic order Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/144561088 [FIX] header_positions: compute positions for concurrent new sheets Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/d05345d4e [FIX] data_validation: don't crash `allowDispatch` Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/5434b54f1 [FIX] collaborative: rebase pending concurrently with undo Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/709be92d6 [FIX] sheet: concurrently create sheet with the same id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/2d75dd4da [FIX] sheet: prevent duplicating with the same id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/389f82874 [FIX] cell: delete cells on sheet deletion Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/ac4451782 [FIX] CF: reject invalid range sheet Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/61e21568d [IMP] tests: collaborative monkey party Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/066506700 [FIX] pie_chart: use chart background for border color Task: 4570603 https://github.com/odoo/o-spreadsheet/commit/adc36371b [FIX] FontSizeEditor: prevent wheel adjustments & improve focus outline Task: 4357023 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
The Discuss sidebar now makes call participants easier to see when the list is collapsed by showing larger avatars and more people at once. Users can also click the avatar stack directly to expand it, making it easier to check who is currently in a call.
Original PR description
The discuss side bar displays call participants in an avatar stack to avoid bloating the UI. However, this avatar stack is quite small while there is plenty of horizontal space. As a result, its…
The discuss side bar displays call participants in an avatar stack to avoid bloating the UI. However, this avatar stack is quite small while there is plenty of horizontal space. As a result, its difficult to know which users are currently in the call. It's possible to expand the avatar stack to have more information but the toggle is too small and its not as easy as it should be. This PR fixes both issues: - Avatar stack gives more space for each avatar, size is slightly increased and the stack displays more avatars. - Its now possible to click on the stack to expand it. Also fixes an issue where short status were shown when sidebar is in non-compact mode. | Before | After | | ------------- | ------------- | ||  | |  |  |
This fix prevents users from accidentally editing embedded Knowledge filters in a way that could create unwanted filter records. It also keeps favorite filters available when views are inserted into Knowledge articles, preserving users' saved preferences.
Original PR description
### This commit fixes two issues introduced by [cdf65f563e6](https://github.com/odoo/odoo/pull/185954/commits/cdf65f563e6dc09ca238395e480da095232ac044): 1. Edit action incorrectly enabled for…
### This commit fixes two issues introduced by [cdf65f563e6](https://github.com/odoo/odoo/pull/185954/commits/cdf65f563e6dc09ca238395e480da095232ac044): 1. Edit action incorrectly enabled for knowledge embedded view filters - These filters are not linked to server records in Knowledge - Attempting to edit leads to unwanted filter record creation - Should use delete action instead of edit for these cases 2. Favorites being lost in embedded views due to reconciliation - `_reconciliateFavorites` deletes SearchItems that can't be reconciled - Embedded view filters are dissociated from record values - Results in loss of favorite filters when inserting views Solution: - Override `_reconciliateFavorites` to skip reconciliation for embedded views - Override `web.SearchBarMenu.FavoriteItem` to: * Restore delete action for embedded view filters * Add proper title and icon * Reimplement a `deleteFavorite` flow by patching `SearchBarMenu` - Reintroduce `deleteFavorite` in KnowledgeSearchModelMixin Reproduce Steps: 1st Issue: Create embedded view with "/kanban" or insert from another module - Add filter > edit action is present 2nd Issue: In any module - Add favorite filter - Insert view into Knowledge article - Filter is missing opw-4518370
Installing the Appointment app no longer triggers a website-wide module error banner caused by a missing supporting file. This prevents confusing warning messages for visitors and improves the free trial experience.
Original PR description
The appointment addon adds the `@mail/utils/common/format` module to the frontent assets. However, this module depends on another one: `@mail/utils/common/html`, which isn't there. As a consequence there's a red banner displayed in the bottom left corner, indicating that there's an odoo module issue, in all websites when the appointment addon is installed. This is causing a lot of trouble with free trials. This commit adds the missing dependency.