Friday, January 26, 2024
7 changes · 17.0
Resolved issues and error corrections
The attendance list no longer shows the Duplicate button when one or more attendance records are selected. This helps prevent accidental copying of employee attendance entries and keeps attendance data more reliable.
Original PR description
With this commit, the button "duplicate" when you selected some attendances is not shown anymore. task : 3646395 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
The website editor now works correctly with newer versions of the image processing library used to size text in generated icons. This prevents unnecessary error logs and helps keep the editor stable after dependency upgrades.
Original PR description
Before this PR: We used the .textsize method, which returned the height and width of the icon. However, in the latest version of Pillow, this method was deprecated, resulting in errors in the log. After this PR: We have transitioned to using the textbbox method, which returns the coordinates of the top, left, bottom, and right of the text's bounding box. From these coordinates, we calculate the height and width of the text. task-3502373
Clicking an invalid link in the web editor now shows a clear invalid URL notification instead of a blank or confusing message. This helps users understand what went wrong and correct the link more easily.
Original PR description
**Current behavior before PR:** Clicking on invalid link results in a blank and bizarre notification because we are accessing wrong parameter in wysiwyg.js. **Desired behavior after PR is merged:** After correcting parameters clicking on an invalid link triggers a notification displaying an invalid URL message. task-3563345 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a bug in the subscription order note search feature. The system was incorrectly processing search results that returned both ID and display name information, when only the ID was needed. This fix ensures the search function works correctly when looking up order notes.
The "Add Document" button in the document upload dialog has been renamed to "Add URL" to better clarify its purpose. This change reduces confusion for users who see both an "Upload Document" button and the URL button side-by-side, making it immediately clear that the button is for adding documents via URL rather than uploading files.
Original PR description
Before this commit the button to add documents from an URL is labeled "Add Document" which is confusing given it is displayed besides an "Upload Document" button. This commit renames the "Add Document" button into "Add URL" to make its purpose more obvious. task-3493618 Forward-Port-Of: odoo/odoo#149120 Forward-Port-Of: odoo/odoo#136512
This fix removes the confusing arrow indicator that was appearing in date range fields when they were both empty and set to read-only mode. Users couldn't interact with these fields anyway, so showing the arrow was misleading. The change improves the user experience by only displaying the arrow when users can actually edit the field.
Original PR description
Recently, a new option 'always_range' has been added to the datetime field (task 3628069, commit bc98aad). This option forces the display of the arrow between the two dates from the start. Before that, you would add a first date, click a button to add a second date and then only would the arrow appear. The oversight here is when the field is empty AND readonly. In that case, you have an visible arrow next to the label but you can't do anything with the field anyway. So better not to show it. This commit makes sure to not display the arrow in this case. task 3690523
This update fixes a bug where email addresses were appearing twice in the project sharing interface when inviting people on mobile devices. The issue was caused by an unnecessary email display setting in the system configuration. Removing this setting resolves the duplicate display and improves the user experience when sharing projects on mobile.
Original PR description
Steps: - In mobile open project - Project.project form view - Share project - Invite people, the 'email' is displayed twice in the kanban view Issue: - In mobile when project share invite people, the 'email' is displayed twice in the kanban view Cause: - This will be coming because of the context for show_email Fix: - By removing of context show_email it will be working fine. task-3550702 Forward-Port-Of: odoo/odoo#140920