Wednesday, October 25, 2023
14 changes · master
Resolved issues and error corrections
The mail reaction menu now closes automatically when the last reaction is removed. This prevents users from seeing an empty menu and makes the messaging experience feel cleaner and less confusing.
Original PR description
Currently, if all reactions are deleted from reactions menu, the menu remains open. This commit force it close in case of having no reactions. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Receipts are now printed automatically only when customers use self-ordering in kiosk mode. This avoids unnecessary receipt generation on mobile self-ordering and prevents the confirmation screen from displaying incorrectly.
Original PR description
Before, a receipt was automatically generated in the mobile self order and the confirmation screen would glitch when it was generated. Now this receipt is only generated in kiosk mode and the confirmation screen no longer glitches due to a hidden overflow.
This fixes an issue where input fields inside popups did not automatically receive focus as expected. It also removes duplicate handling in the messaging area, making the behavior more consistent across Odoo.
Original PR description
Currently, when there is an input within a popover, the AutoFocus hook is not working well due to the check for activeElement. The fix is to provide a function parameter to check the situation rather than put it inside the hook thus, it can be used as a generic hook as it was. Also, remove the duplicate useAutofocus in `mail` code. Related PR: https://github.com/odoo/odoo/pull/139124 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A display issue was fixed so empty HTML content is treated correctly when deciding whether to show or hide elements on a page. This prevents blank alerts from appearing in forms, improving clarity for users.
Original PR description
Because `Markup("")` is not considered as falsy, computed and not stored HTML field used in invisible attribute on views were not rendered correctly.
Indeed, if a computed (and not stored) html field was used as a condition for the display of an alert. Then a void alert was displayed on the view.
Follow-up of odoo/odoo#130479Disabled input fields now use a background color that matches the updated website design. Placeholder text has also been darkened to improve readability on lighter backgrounds, creating a more consistent and accessible editing experience.
Original PR description
Before this commit, disabled inputs background color was set to Bootstrap default value (`$gray-200`). Since the input background color is now based on `o-color-3`, it was creating inconsistencies. This commit fixes that issue. This commit also darkens the placeholder color as it was not readable enough on the new light background. task-3565420 part-of-task-3097005 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mailing form no longer shows an extra duplicate domain field. This keeps the email campaign setup screen cleaner and reduces confusion for users configuring mailing recipients.
Original PR description
Remove the extra mailing_domain in the form view. task-3562293
Fixed an issue where quiz content in online courses could show unwanted HTML text to learners. This improves the course-taking experience by ensuring quiz text appears as intended.
Original PR description
**How to reproduce:** 1. Open any course having a quiz. 2. Select quiz content. -> In the quiz template we can see that the html content is not sanitized. **Technical:** I think the issue arises after this commit https://github.com/odoo/odoo/commit/0d7acf60b4cca84a8c700edd97af8c4de6b78010 **After this PR:** Now t-esc is deprecated and the HTML text is not sanitized in the template so instead of t-esc we are using t-out. Task-3555159
The Print Labels button now appears only for products where labels are useful, such as storable, consumable, and combo products. This avoids confusion by hiding the option for items like event tickets, booths, or courses where label printing does not apply.
Original PR description
Before this commit, the "Print Labels" button shows for all products except services. However, this button does not make sense for event_booth, event_ticket, course, ... products So we only show this button for storable, consumable and combo products. Task-3390587
This fixes an issue in the Argentinian localization where opening a customer or vendor contact form could fail because a hidden filter condition was evaluated incorrectly. Users can now access partner records normally without encountering an error.
Original PR description
It seems that the invisible is not working on filter and so the fiscal country_code cannot be evaluated which causes a Traceback when trying to access the res_partner form view. task: 3270458 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small issue in the Mail app by removing repeated autofocus handling in the message search panel. The change helps keep the interface behavior consistent and reduces the chance of minor focus-related glitches for users.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adjusts demo data and access settings across several business apps so demo users have more appropriate permissions. It also hides a point-of-sale preparation display menu from users who cannot use it, preventing an access error and making the demo experience smoother.
This fixes the automatic setup of the external tax connection for sales. It helps ensure the right supporting component is installed when needed, reducing manual setup issues for businesses using external tax services.
This fix prevents a Studio automated tour from failing when the Attendance app is not installed. It removes an irrelevant check so internal validation is more stable without changing user-facing features.
Original PR description
Since [1], the `/hr_attendance/attendance_user_data` route is asserted in a studio tour. This route is not called when `hr_attendance` is not installed making this tour fail in this case. This commit excludes this route from the assertions since it is not relevant. [1]: https://github.com/odoo/enterprise/pull/47384 fixes runbot-27902
Financial reports now keep total lines on the expected page when using the Total Below option. This prevents report layouts from adding unwanted page breaks inherited from section lines, making printed reports cleaner and more predictable.
Original PR description
By activating the "Total Below" section feature, the total line will adopt the attributes of the section. In the report settings, we have the option to define a page break attribute for a line. However, if the section's line possesses the page break attribute, this causes the total line to also have it, which is not the desired behavior. This commit aims to separate the "Total Below" sections from the "print_on_new_page" field. task: 3566903