Monday, November 25, 2024
10 changes · 18.0
Enhancements to existing features
Xendit payments now give customers more specific feedback when credit card details are entered incorrectly. Payment amounts are also rounded according to country and currency requirements, helping reduce failed transactions with Xendit.
Original PR description
- A more concrete error message when the input for credit card information is invalid - Rounding of payment amount specifc for different countries when sending payment API to xendit --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Live chat conversations now open automatically when a new message arrives, helping operators respond to visitors faster. Other conversations continue to appear as folded chat bubbles, so regular users are not interrupted while working in Odoo.
Original PR description
Currently, when receiving a new message, it opens a new chat bubble, i.e. a chat window that is folded on the right. This is the preferred behaviour for most users. For livechat operators, however, they want to reply to visitors questions as quickly as possible. Therefore having the chat window open automatically on receiving new messages is quite useful for them. This PR adds automatically opening of chat window on receiving new messages for livechat conversations. All other conversations are still open as chat bubble, as this is the preferred showing for all other users that want to know there are new messages without being disturbed while using Odoo web client. Task-4354021 https://github.com/odoo/enterprise/pull/74468
The Share Screen action is now shown directly during video calls instead of being hidden inside the More menu. This makes screen sharing quicker to access and improves the call experience for users.
Original PR description
**Current behavior before PR:** The 'Share Screen' action was located within the 'More' button, making it less accessible during a video call. **Desired behavior after PR is merged:** The 'Share Screen' action has been moved outside the 'More' menu and is now always visible during a video call. **Task**-4354220 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
WhatsApp operators will now see incoming customer conversations open directly instead of appearing as a folded chat bubble. This helps them notice and answer visitor questions faster, while other conversation types keep the existing less intrusive behavior.
Original PR description
Currently, when receiving a new message, it opens a new chat bubble, i.e. a chat window that is folded on the right. This is the preferred behaviour for most users. For whatsapp operators, however, they want to reply to visitors questions as quickly as possible. Therefore having the chat window open automatically on receiving new messages is quite useful for them. This PR adds automatically opening of chat window on receiving new messages for whatsapp conversations. All other conversations are still open as chat bubble, as this is the preferred showing for all other users that want to know there are new messages without being disturbed while using Odoo web client. Task-4354021 https://github.com/odoo/odoo/pull/188422
Resolved issues and error corrections
Users will now be notified when their Odoo page may have missed updates after the computer or browser was disconnected for a long time, such as overnight sleep. The warning prompts them to refresh, helping avoid confusion from missing messages or stale information.
Original PR description
Before this PR, the UI could become outdated if the garbage collection (GC) of bus notifications occurred while the WebSocket was disconnected. This typically happens when the PC is asleep overnight. Notifications sent between the WebSocket disconnection and the GC were lost, resulting in an outdated UI (e.g., missing messages). While it is not possible to retrieve those lost notifications, we should at least inform the user that some data may be missing. This PR introduces a notification prompting the user to refresh the page if GC ran during the disconnection.
Spreadsheets now appear immediately after a list, pivot, or graph is inserted, while the inserted content continues loading in the background. This reduces user confusion after the creation notification and makes the workflow feel more responsive; pivot spreadsheets stay read-only briefly until their data is ready.
Original PR description
Before this commit, when a list/pivot/graph object is inserted in a spreadsheet, it was loaded **and then** the spreadsheet was displayed. It could cause a confusion for the user because, as soon as he clicks on insert, he receives a notification that the spreadsheet is created in Documents and then he has to wait for the spreadsheet to be displayed. With this commit, the spreadsheet is displayed as soon as possible and the list/pivot/graph object is loaded in the background. For the pivot, the spreadsheet is turned into readonly mode until the pivot is loaded, as we need the pivot to be loaded to know the cells to insert. Task: 4256694
Fixes confusing drag-and-drop behavior in Documents when moving items to or within My Drive. Users now get the expected move behavior, avoid accidental shortcuts, and unnecessary background actions are reduced.
Original PR description
Various bugs are fixed here: 1. From search panel to search panel, Drag and Drop from MY/Folder X to MY => It creates a shortcut, it's odd => we likely wanted to move it 2. From search panel to search panel, Drag and Drop from X to X (in my drive or not) * In MY it creates a shortcut It's odd, we shouldn't do anything * In other places it calls the server for nothing. 3. From kanban card to search panel, drop into MY/X => It creates a shortcut in "My Drive" We want to be able to move it, or create a shortcut (if using CTRL) as for other destinations Task-4236526
Access changes made on regular folders no longer automatically affect frozen folders or frozen spreadsheets. This prevents accidental permission updates on read-only spreadsheet content and reduces duplicate access records for the same person.
Original PR description
Bug === A system administrator can view all frozen folders / spreadsheet, because of that, when he changes the access on a folder, it can be propagated on the frozen folders and on the frozen spreadsheets inside. But, the frozen spreadsheets can not be editable. To solve that issue, we now need to open the share panel of the frozen spreadsheets to change their access. Task-4346980
Downloading XML documents that contain an embedded PDF now returns the original XML file instead of incorrectly downloading the embedded PDF. This ensures users get the file type they selected from Documents, avoiding confusion and preserving the expected document format.
Original PR description
To reproduce: ============= - with `documents_account` installed, go to documents - upload an xml file with an embedded pdf (you can find it on opw) - download the xml file from documents -> the downloaded file is PDF instead of xml Problem: ======== the controller route `documents_content` can be used for previewing and downloading the file, we use a parameter `download` to specify if we want to download the file or not, which should have `True` as default value, but it was changed to `False` in the override in `documents_account` Solution: ========= set the default value of `documents_content` to `True` in the override to match the original value. opw-4329268
Fixed an issue that could block users from opening the Belgian VAT Return report from the Accounting dashboard after creating a tax report activity. The report now opens reliably even when related tax closing details are not yet available, avoiding a disruptive error for accounting users.
Original PR description
Handle an error that occurs when a user attempts to open the 'VAT Return (BE)' report from the 'Miscellaneous Operations' section in Accounting. Steps to produce an error: - Create a database without…
Handle an error that occurs when a user attempts to open the 'VAT Return (BE)' report from the 'Miscellaneous Operations' section in Accounting. Steps to produce an error: - Create a database without demo data and install Accounting. - Go to Accounting > Configuration > Journals. - Open 'Miscellaneous Operations' and mark activity as done in chatter. - Click on activities on Chatter and create an activity with activity type Tax Report. - Go to the accounting dashboard > In the dashboard, click on "Tax Report" in Miscellaneous Operations. When the system tries to get the data from json field ```account_tax_closing_params``` at [1], but it is False. Line 1: https://github.com/odoo/enterprise/blob/861015dad0f4de7371e221cfac92b74e336f4fde/account_reports/models/mail_activity.py#L21-L23 ```TypeError: 'bool' object is not subscriptable``` To resolve this, add a condition that if ```account_tax_closing_params``` is False, Then pass an empty dictionary as 'options' in the action's params and also update a code for 'Closing Entry'. Sentry-6055553906, 6076852489