Thursday, December 12, 2024
11 changes · 17.0
Resolved issues and error corrections
The activity view now follows the same creation restrictions as list and kanban views. When creating new records is disabled for an action, users will no longer see or use the New button there, preventing inconsistent behavior.
Original PR description
When we pass create = false in the action context, a new record cannot be created in the kanban and list views. However, a new record could still be created in the activity view. In this commit, we have prevented that. task-3887972
This fix ensures the Indian withholding tax wizard first checks whether any records were selected. If none are selected, users now receive a clear error message instead of running into an unexpected failure.
Original PR description
We need to first check if active_ids exist and get usererror if there are no active_ids present. [Link to Runbot Error builds](https://runbot.odoo.com/web#id=74407&menu_id=424&cids=1&action=573&model=runbot.build.error&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures that email addresses added through the link widget are saved as email links instead of regular web links. It prevents recipients from being sent to an invalid web address when clicking an email link in a mailing.
Original PR description
**Steps to reproduce:** - Create a new mailing - Add a link with "Link" widget - Enter an email - Insert the link **Issue:** `http://` is prepended to the email instead of `mailto:`. **Cause:** Introduced by this commit: https://github.com/odoo/odoo/commit/31dff0ed609b0e95c6097afc8d3a5daf194737f5 As `this.state.url = url;` is executed each time the domain is not stripped, it is undoing the code adding "mailto:" to an email address. opw-4357095 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can no longer add helpdesk team pages directly to the website menu, because those links may not appear publicly after publishing. Helpdesk team menu entries must now be managed through the helpdesk team settings, reducing confusion and preventing broken or hidden navigation items.
Original PR description
To reproduce: ============= - after enabling **website forum** feature in settings of helpdesk team - go to website editor -> Menu items -> add new item with url `/helpdesk/<team-slug>` - save and publish the changes -> the menu item is not visible in the website menu publicly Fix: ======== -User should not be able to add helpdesk team to website menu from editor, it must be done from the helpdesk team settings. - A validation is added to check if the menu item is for helpdesk team and if so, it will be rejected. - The suggested urls are filtered to avoid suggesting helpdesk team urls. opw-3931376
This update corrects a technical issue in the Romanian localization reports module that prevented the correct handling of date formats. The change ensures that date information is consistently formatted as strings, resolving potential reporting errors and improving data accuracy. This update focuses on internal reporting processes.
Original PR description
Options dict is not supposed to contain date objects.
This update restores the Sales Order (SO) and Service Order (SOL) buttons within the project updates view for field service projects. Previously, these buttons were accidentally removed, preventing users from easily accessing related sales information. This change ensures users can seamlessly link project updates to their corresponding sales orders.
Original PR description
Versions: ---------- - 17.0 Steps to Reproduce ------------ - Create a product and add the template of the field service project. - Create a sale order. - Open the project updates. - We do not see the SO and SOL buttons. Issue ------------ - SO and SOL smart button was removed on project updates in this commit https://github.com/odoo/enterprise/commit/7a82c52fb007ad0f827dd5d124f80d6195bff919 Fix ---------- - We are adding the SO and SOL buttons back. - So the user can at least see the linked data. task-3887972
This update fixes a potential upgrade issue caused by incorrectly mapping window actions to experimental grid views. Removing grid views previously led to problems during updates, particularly when uninstalling related modules. This change ensures that grid views are properly handled, preventing future upgrade complications.
Original PR description
When a grid view is removed we should cascade the removal to the window actions mapping. Grid views are considered experimental. They do not have a `_get_default_grid_view` method, and crafting an acceptable general one is close to impossible due to grid views' requirements in terms of the model fields. Allowing the grid mapping for window actions have been proven to cause issues during upgrades if clients uninstall one of the few modules providing grid views (like analytic_enterprise). Forward-Port-Of: odoo/enterprise#74912
This update prevents the creation of templates when uploading PDF documents for signature processing via the 'Upload a pdf & sign' button. Previously, users could inadvertently save template information. This change ensures a cleaner workflow and avoids unnecessary data storage.
Original PR description
When uploading a pdf through "Upload a pdf & sign" button, no template should be saved. Hence the "Template Properties" button shouldn't show up. This commit aims to hide the button for this type of files. Task: 4317966 Forward-Port-Of: odoo/enterprise#73912
A bug was causing two 'Sign Now' buttons to appear in the signature request dialog. This has been corrected by adjusting the button visibility condition to ensure it disappears when either condition is met. This improves the user experience and prevents confusion.
Original PR description
Version: - 17.0 Step to reproduce: - upload sign template - click on sign now button on template Issue: - two sign now buttons are visible to user Cause: - there is an issue in condition to make button invisible as it require both the condition to be true to make button invisible Solution: - change condition which will make button invisible when any one condition true. task-4234996
This update fixes an issue where clicking between buttons in the softphone interface would unexpectedly generate an input field. The fix ensures that input is only created when a user actively clicks on a button, improving the user experience and preventing unwanted data entry.
Original PR description
Issue: Clicking the space between buttons but no click on any buttons, a input of "123456789*0#" will be generated. Fix: Do nothing when click in this situation, only generate input when clicking on buttons.
This update resolves an issue where incoming call ringtones were playing across all open tabs in Odoo. Now, ringtones will only play on the main 'master' tab, creating a cleaner and less disruptive user experience. This improves usability and reduces potential confusion for users.
Original PR description
Currently when receiving incoming calls, it's possible that all opened tabs will play the ringtone. To reduce the chaos, we now only play the incoming ringtone on the master tab. Task-4402909