Wednesday, May 29, 2024
4 changes · 17.0
Resolved issues and error corrections
The attendance kiosk now leaves the job position area blank when an employee has no job title set, instead of displaying the word “false.” This removes a confusing visual error for staff using manual identification in kiosk mode.
Original PR description
Description of the issue/feature this PR addresses: This PR addresses an issue in the attendance module. When an employee's job position is not set, the kiosk mode displays `false` in the employee kanban view when manually identified. Cause The issue arises when the job position is not set in the employee profile. Fix: This PR resolves the issue by modifying the kanban view template of employees in kiosk mode.if condition is added to ensure that the job position is displayed only if it is set for the employee. task-3892580
The spreadsheet pivot context menu now shows the global filter option only when it is relevant to pivot header cells. This prevents users from seeing an action that should not apply to regular pivot formula cells, reducing confusion when working with spreadsheet reports.
Original PR description
The context menu (and clickable cell) `use_global_filter` should take the value of the underlying pivot formula, and apply it to the matching global filters. This works, but was supposed to work only for `ODOO.PIVOT.HEADER` formulas, and not simple `ODOO.PIVOT` formulas. This commit fixes the visibility of the `use_global_filter` option in the context menu, so that it is only visible for `ODOO.PIVOT.HEADER`. Also removed/changed tests that were testing that the menu was visible for positional `ODOO.PIVOT` formulas. Task: [3714696](https://www.odoo.com/web#id=3714696&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) 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 Discuss notification settings menu now handles longer translated labels more gracefully. This prevents options such as channel mute settings from being cut off or displayed awkwardly in languages with longer text, making the menu easier to use for international users.
Original PR description
Before this commit, the notification settings in discuss app that is used to mute channels was not showing items properly in some languages like vietnamese. This happens because the width is hard-coded to 150px as to keep the dropdown menu small. This commit fixes the issue by putting a max-width of 250px for dropdown menu and sub-menu, so that it keeps right positioning of submenu. If text is too long, it know wraps. 
This update ensures that the test_discuss_full_enterprise module is automatically installed when both test_discuss_full and web_enterprise modules are present. This fix resolves test failures that were occurring when these modules were used together, improving the reliability of the testing environment.
Original PR description
When `test_discuss_full` and at least `web_enterprise` are installed, `test_discuss_full_enterprise` must be installed for the tests in `test_discuss_full` to pass. runbot-65732 Forward-Port-Of: odoo/enterprise#63366