Wednesday, January 15, 2025
9 changes · 18.0
Enhancements to existing features
The Point of Sale interface now shows a branded screensaver after five minutes of inactivity. This keeps unattended checkout screens looking polished and on-brand, and users can dismiss it with a click when they return.
Original PR description
Following this commit : ==== - Added a new ScreenSaver component that displays the brand image. - The screensaver disappears when clicked. - Automatically activates and becomes visible after 5 minutes of user inactivity. task- 4374221
Resolved issues and error corrections
Portal users no longer see tasks they should not have access to after navigating between projects. This keeps project task visibility consistent and protects customer-facing access rules.
Original PR description
### Steps to reproduce: - Create a project with a few tasks -> add a portal user as a follower - Go to the user's portal -> the user sees the project, but no tasks - Give user access to another…
### Steps to reproduce: - Create a project with a few tasks -> add a portal user as a follower - Go to the user's portal -> the user sees the project, but no tasks - Give user access to another project so that he has multiple projects in his portal. - Open the first project with 0 visible task and use arrows to navigate between the projects. - Go back to the first project all tasks are visible ### Cause: This is happening because when fetching tasks that will be shown we are passing the SU parameter as true if we have access token https://github.com/odoo/odoo/blob/0b315ded0928372d2349b25699f440f4bf969814/addons/project/controllers/portal.py#L38 which leads that we will not create a domain for fetching tasks as SU will by default has access to all tasks. https://github.com/odoo/odoo/blob/0b315ded0928372d2349b25699f440f4bf969814/addons/project/controllers/portal.py#L372-L373 ### Fix: We are gonna pass the parameter of SU as true only if the env of the request is SU env only. opw-4410717
This fix ensures translated interface labels that include formatting or visibility settings are updated during upgrades. It prevents outdated untranslated text from remaining after an upgrade, reducing manual cleanup and improving localization accuracy.
Original PR description
We cannot skip the update always. It is only safe to do so when the
element is text, in other cases we still need to update the attributes
to avoid upgrade issues.
For example, this term
https://github.com/odoo/odoo/blame/03434f42d2b1d96d2cf8315154f16f9fa01c1ae3/addons/account/i18n/fr.po#L1129
which at the time of this patch has no translation yet, won't be updated
even if we add the right translation
```
msgid ""
"<span invisible=\"name or name_placeholder or quick_edit_mode\">Draft</span>"
msgstr ""
"<span invisible=\"name or name_placeholder or quick_edit_mode\">Brouillon</span>"
```
The reason is that the check
```py
if closest_term in translation_dictionary:
continue
```
would skip the update. Here we propose to restrict the skip only to text
elements.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe checkout page now adapts correctly when the Shipping address option is disabled in website settings. This prevents a broken checkout experience for customers buying deliverable products and helps keep online orders flowing smoothly.
Original PR description
Steps to reproduce: 1) Go to website settings and disable 'Shipping address' 2) Add to cart deliverable product and go to checkout 3) See the broken UI This PR adapts UI to the setting of disabling delivery address. opw-4367079
This update refreshes Odoo's spreadsheet engine with multiple fixes that improve chart display, pivot table behavior, Excel import/export handling, and general responsiveness. Users should see fewer spreadsheet glitches, better compatibility with XLSX files, and a small new formula capability for converting values.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/0c5220e86 [REL] 18.0.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/883dc0ae4 [FIX] borders: fix border on…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/0c5220e86 [REL] 18.0.9 Task: 0 https://github.com/odoo/o-spreadsheet/commit/883dc0ae4 [FIX] borders: fix border on column/row deletion Task: 4089281 https://github.com/odoo/o-spreadsheet/commit/57aa8a7c7 [IMP] functions: add VALUE function Task: 4373019 https://github.com/odoo/o-spreadsheet/commit/d71d23f97 [FIX] charts: Account for correct locale when filtering empty datasets Task: 4465324 https://github.com/odoo/o-spreadsheet/commit/de1268b08 [FIX] pivot: notify only with static formulas Task: 4453844 https://github.com/odoo/o-spreadsheet/commit/d926ab9e3 [FIX] spreadsheet: avoid parasitic renders Task: 4373054 https://github.com/odoo/o-spreadsheet/commit/4eb819fa8 [IMP] model: create snapshot when loading xlsx file Task: 4080514 https://github.com/odoo/o-spreadsheet/commit/fa35e56dc [FIX] Package: update owl to 2.5.1 Task: 0 https://github.com/odoo/o-spreadsheet/commit/5ae37ce00 [FIX] chart: fix trend line axis alignment Task: 0 https://github.com/odoo/o-spreadsheet/commit/bef5abccc [FIX] xlsx: ignore charts without data set Task: 4460515 https://github.com/odoo/o-spreadsheet/commit/226fa6ad5 [FIX] pivot: ensure correct format status in menu Task: 4373606 https://github.com/odoo/o-spreadsheet/commit/85aaab61d [FIX] pivot: mouse events do not work in pivot text input Task: 4350439 https://github.com/odoo/o-spreadsheet/commit/aebd38c9d [FIX] chart: fix misalignment with trend line axis Task: 4251695 https://github.com/odoo/o-spreadsheet/commit/93eb716fc [FIX] xlsx: preserve leading whitespace at export Task: 4044862 https://github.com/odoo/o-spreadsheet/commit/3d0c96bd3 [FIX] xlsx: import new lines in sharedStrings Task: 4044862 https://github.com/odoo/o-spreadsheet/commit/3627052ae [FIX] charts: translate gauge chart titles Task: 4421055 https://github.com/odoo/o-spreadsheet/commit/61d79cd1e [FIX] index: export isNumber/isDateTime helper Task: 0 https://github.com/odoo/o-spreadsheet/commit/707d19875 [FIX] pivot: prevent duplicating pivot in error Task: 4361353 https://github.com/odoo/o-spreadsheet/commit/2687f536a [FIX] bottom_bar: ensure active sheet is scrolled into view Task: 4377840 https://github.com/odoo/o-spreadsheet/commit/144842902 [FIX] package: 18.0 is no longer the latest version Task: 0 https://github.com/odoo/o-spreadsheet/commit/66f0c66f8 [FIX] chart: trend line tooltip for scatter/line charts Task: 4279972 https://github.com/odoo/o-spreadsheet/commit/a59494344 [FIX] custom currency: panel on very long currency code Task: 4402647 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>
This fixes an error that could appear when users clicked "Process now" during Ecuadorian electronic invoice cancellation if the tax authority connection failed. Instead of showing a technical traceback, the system now handles the failed response more safely, improving reliability for accounting users.
Original PR description
When the user clicks on the ``Process now`` button,
a traceback will appear.
Steps to reproduce the error:
- Install ``l10n_ec_edi`` module > Switch to EC Company
- Create a new invoice > Add Payment Method (SRI) > Confirm
- Go to Configuration > Settings > SRI Connection > enable ``Use production servers`` > Save
- Go back to the invoice > Request EDI Cancellation > Process now
Traceback:
```
File "home/odoo/src/enterprise/18.0/l10n_ec_edi/models/account_edi_format.py", line 525, in _l10n_ec_get_authorization_status_new
response_auth_list = response['autorizaciones'] and response['autorizaciones']['autorizacion'] or []
TypeError: 'NoneType' object is not subscriptable
```
https://github.com/odoo/enterprise/blob/2e1af04e36fcbdcd11e3a7e2994673b2c4a5cf85/l10n_ec_edi/models/account_edi_format.py#L525
When there is any kind of connection error, the ``response`` will be ``None``,
which will result in the above traceback.
sentry-6199991614Mobile users can now reliably open and close search in Documents, with the search button hidden when documents are selected to avoid confusion. The sharing panel also displays access details and action buttons more cleanly, making collaboration from a phone easier.
Original PR description
Steps to reproduce: 1. Switch to mobile view. 2. The magnifier button is not working. 3. when adding a member through the share panel, 'people with access' section shows weirdly. 4. Send and discard button display issue on the share panel. Technical Reason: SearchBar is being handled in the control panel and was not passed the searchBarToggler in the toggler attribute, and add a condition on the 'searchBarToggler.component' only shows if documents are not selected. After this Commit: 1. The magnifier button will hide/display the search bar and the magnifier button will be hidden if we select a document. 2. In the share panel, the 'people with access' section, will show properly. 3. Buttons will be in a proper width. Task-4419375
The Benchmark dashboard now keeps internal account type labels unchanged instead of translating them. This ensures balances are calculated and displayed correctly for users working in languages other than English.
Original PR description
… technical In Odoo 18 > Benchmark dashboard does not show the correct balance per account type when the language is not English. The problem is we have a =_t(value) function that translate the technical name (C30:C47) opw-4484934 Task: 4484934
This fixes an issue in Documents where keyboard selection actions could stop working because focus unexpectedly moved to the search bar. Users can now reliably select or deselect documents with Ctrl+A and extend selections with Shift+Arrow without needing to click back into the list.
Original PR description
Steps to reproduce: 1. press 'Cntrl+a' will select and deselect. 2. after one operation of selecting/deselecting it loses focus. 3. focus moved to the search bar. 4. due to this the 'Cntrl+a' is not working until you click somewhere. 5. select/deselect not working properly. It also fixes issues related to the 'shift+arrow' selection flow 1. Go to the documents list view 2. Select any not-the-last record 3. Hold Shift and hit down arrow 4. The record below is not selected as it should Technical Reason: In the Search bar, the attribute autofocus was evaluating 'true' every time because of sending 'undefined' due to this default props set it to 'true'. After this Commit: 1. focus will not be lost. 2. select/deselect will work properly. Task-4413608