Monday, January 20, 2025
6 changes · 17.0
Resolved issues and error corrections
Peppol-related errors from the external service now show a clearer, user-friendly message in Odoo instead of a more technical internal message. This helps users better understand what went wrong and reduces confusion when handling electronic invoicing issues.
Original PR description
When an error occurs on IAP side for Peppol we display the content of `message` while we have a more friendly-user text stored in `display_message`. Use the latter when logging in Odoo. See: https://github.com/odoo/iap-apps/blob/5dde71627dfd6c6168935346bece0018d4701ce3/iap_services/peppol_proxy/exceptions.py#L14 task-no
Pasting or deleting selected text after a manual line break now keeps the paragraph spacing correct. This prevents extra blank lines from appearing, or intended line breaks from disappearing, when users edit formatted content.
Original PR description
**Before this PR:**
Steps to reproduce:
- In an empty paragraph write something, press shift + enter
- Write something in new line break
- Select whole text in second line
- Paste any text, notice that an extra <br> is added above pasted text.
In other words,
`<p>abc<br>[def]</p> + insert('x')` becomes `<p>abc<br><br>x[]</p>` instead of `<p>abc<br>x[]</p> `.
**Desired behaviour after PR:**
Now, pasting something at line-break doesn't add an extra an extra `<br>` .
task-4231290
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prNew working schedules now calculate their duration in days correctly by ensuring daily working hours are available first. This helps businesses avoid inaccurate schedule information when setting up employee or resource calendars.
Original PR description
When creating a new working schedule, the duration (days) was not computed correctly. This was due to a missing field in the depends of the compute method. This commits fixes the issue by adding the hours per day in the depens of the duration days compute method. That way, the duration days will be computed after that the hours per day are computed. task-4457200
This fixes an issue where posts published through Social could send or display notifications with an incorrect URL. Users should now be directed to the intended page, reducing confusion and improving reliability of shared content.
Original PR description
When users post a post from social it post with a wrong url --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Time entry fields in grid views now open a keyboard that allows users to type a colon on Android devices. This fixes an issue that made it difficult to enter times correctly in timesheets from mobile devices.
Original PR description
Steps to reproduce ================== - Install hr_timesheet - Use an android device - Click on a time field => A numeric virtual keyboard appears. This prevents us from entering the `:` character. Cause of the issue ================== The inputmode attribute is set to numeric Solution ======== Set the inputmode to it's default value: text. See also [float_time_field] --- [float_time_field]: https://github.com/odoo/odoo/commit/8b919ae51d7deb34169b7c6970964056ef2eb632 opw-4344083
The Gantt view connectors are now easier to see when users hover over schedule items, especially with colors that previously had poor contrast. This also fixes overlapping so connectors remain visible instead of being hidden behind nearby items.
Original PR description
This PR fixes two accessibility issues related to the gantt view connectors. Prior to this commit, the connectors were using the raw value when hovering the pill. This is mostly fine is light mode, but for some specific color, this was sometimes not enough to ensure a good visual separation between the connectors and the pill. To handle this issue, we add a pseudo element underneath the border, to make it stand out and prevent all the potential contrast issues. There was also a `z-index` issues with the connectors, the one at the bottom being hidden by the pill below. To fix the issue, we handle the `z-index` at the pill wrapper level to ensure it gets the right elevation. | 17.0 | This PR | |--------|--------| | <img width="366" alt="image" src="https://github.com/user-attachments/assets/f14d3c98-c2d5-4215-90ec-3cbe97b3ea56"> |  | task-3865935