Tuesday, March 25, 2025
4 changes · saas-18.2
Resolved issues and error corrections
Website popups now display with their intended animation when they appear on a page. This restores expected visual behavior for visitors and helps popup content feel polished and noticeable.
Original PR description
When a popup snippet appears on a page, it should appear with an animation. That behavior is broken since the introduction of interactions in [b9b3a605]. [b9b3a605]: https://github.com/odoo/odoo/commit/b9b3a605e0f4c5da3a258c980107d6162da7f44f
Interviewers can now open applicant records without hitting an access error when the applicant is linked to a talent pool. The talent pool shortcut is hidden for interviewer-only users because they do not have permission to view those related records.
Original PR description
**Steps to reproduce**
1. Recruitment > All applications > Chose applicant
2. Add the applicant to a talent pool ("Add to Pool")
3. Also add as an interviewer on the applicant a user with the "Recruitment / Interviewer" group.
4. Now log in with that user and try to view the applicant. `Access Error: doesn't hae read access to Applicant (hr.applicant)
**Cause**
In `_compute_talent_pool_count`, error since the `hr.talent.pool` model is only accessible to users with at least "Officer" rights. https://github.com/odoo/odoo/blob/66856ad6a4dae3289593b55451e6c668a221fb8e/addons/hr_recruitment/models/hr_applicant.py#L166
**Solution**
Hide the smart button if users are only "Interviewers". Since the interviewer is not copied on the new `hr.applicant` record created for the talent pool, they do not have access by default to the records accessible through the smart button anyway.
opw-4658919A test is now skipped when only Invoicing Enterprise is installed without the full Accounting module. This prevents false automated test failures in setups where the general ledger feature is not available to users.
Original PR description
The modified test fails when only the Invoicing Enterprise module is installed, without the Accounting module. This failure occurs because the outstanding account's code is already in use by another account. This test is irrelevant when only Invoicing Enterprise is installed, as the general ledger is accessible only with the Accounting module. Therefore, we skip this test if the Accounting module is not installed. runbot-error: 134665
The expense workflow buttons now consistently follow the same access permissions. This prevents users from seeing or using actions they should not have access to after recent version updates.
Original PR description
During the forward ports of d038a3a (62712bf) we failed to propagate the changes to the other buttons created. This commit makes sure all buttons have the same access rights