Monday, January 8, 2024
7 changes · 17.0
Resolved issues and error corrections
This fixes a case where users linked to an inactive company could be incorrectly blocked by company checks. The change helps avoid unnecessary errors when records default to the current user in multi-company setups.
Original PR description
`res.users.company_ids` returns only active companies, while `res.users.company_id` may be inactive. This leads to a situation where `self.env.company` is inactive but still associated to `self.env.user`. Since in multiple cases the default value for relational fields pointing to `res.users` is `self.env.user`, we may get an error in this check: `self.env.company` is not in `self.env.user.company_ids`. See https://github.com/odoo/odoo/blob/5506ca7/odoo/addons/base/models/res_users.py#L281-L282 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents guest users from hitting an access error when searching in public Discuss conversations. Searches now avoid restricted attachments that guests are not allowed to view, making the experience smoother for external participants.
Original PR description
Before this PR, I guest searching in discuss would get an access error. This is because the search is searching in the attachments that the guest can't access. task-3637314
The calendar event form now displays the missing-attendee-email warning at a readable width again. This prevents the warning from appearing squeezed into a narrow column, making it easier for users to notice and understand before sending invitations.
Original PR description
After revamping the calendar event form view, the warning that is shown when an attendee doesn't have an email set started being rendered in a single column, making the warning be super shrunk. This commit fixes this by forcing the renderer to use 2 columns for the warning. task-3613118 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
This fixes a visual issue where a status arrow button could lose its rounded corner when hidden dropdown items were involved. Users will see a cleaner, consistent status bar appearance without any workflow behavior changes.
Original PR description
This PR fixes an issue about the last arrow button not taking the `o_first` class in some cases. With Odoo 17, we introduced a new behavior for our arrow buttons. This behavior includes an invisible element placed before and after the first arrow button on the left and right side. While this is working fine as long as you don't have any hidden item insie a dropdown menu, once you trigger a stage that was folded into a dropdown menu, this invisible element appears on the right side. Since we use the `o_first` class that sets a `border-radius` on the first element on the right side, this invisible element was taking that `o_first` class. To fix the issue, we search for the first element within the scope that does not have a `d-none` class, and we then add the class to that specific element. task-3628288
Corrected mislabeled field option settings so supported options are recognized consistently across affected areas. This helps prevent configuration issues in relevant web, analytics, and mass mailing fields, and adds clearer guidance for one folding option.
Original PR description
*: analytic, mass_mailing This commit fixes the supportedOptions object in some fields. Instead of using a 'supportedTypes' key when descbribing the type of fields that an option must use, the 'availableTypes' key must be used. This was simply misspelled. A help has also been added for the fold_field option, following the fix for task-3474817
This update corrects the visual alignment between question labels and input fields in the appointment booking form. When customers book appointments, the form questions now display properly aligned, improving the overall user experience and making the form easier to read and complete.
Original PR description
Fix the alignment between the questions labels and the questions inputs in the attendee form when booking an appointment. Task-3648160
This fix removes an incorrect dependency that the payroll module had on the sign module. The payroll system does not actually require the sign module to function, so this unnecessary link has been corrected. This cleanup helps streamline the system and prevents potential conflicts or confusion about module relationships.
Original PR description
hr_payroll does not depend on sign. This change was introduced in https://github.com/odoo/enterprise/commit/98ff57513dce2673cd6a64bbeb5cfb84b7921dff task-3660141