Daily updates from Odoo
Wednesday, December 20, 2023
5 changes
Enhancements to existing features
This update refines how Discuss channels are folded or expanded in Odoo Enterprise. It helps keep the messaging interface behavior consistent and easier to use, with added test coverage to prevent regressions.
Original PR description
follow-up of https://github.com/odoo/odoo/pull/145905 community: https://github.com/odoo/odoo/pull/146674
The WhatsApp button in the chatter is now hidden when no approved templates are available for the current document type, reducing confusing dead-end actions for users. Administrators still see the button so they can create or configure templates, with setup opening directly filtered to the relevant model.
Original PR description
**PURPOSE:** If there are no approved templates for the model then the `WhatsApp` button will just be noise as it will return a `ValidationError`. **SPECIFICATIONS:** - Do not display the button if no approved templates for the model - Button should be always visible to admin users as they can create templates. - After clicking on `Configure Templates` button in the warning popup the `Whatsapp Templates` should be opened with a filter for the current model. task-[3497496](https://www.odoo.com/web#id=3497496&cids=2&menu_id=4720&model=project.task&view_type=form)
The salary offer process now checks whether an applicant or employee has an email address before sending an offer. This prevents failed or confusing offer-sending attempts by showing a clear error when contact details are missing.
Original PR description
Steps To Reproduce: --------------- 1. Install Salary Configurator 2. Go to Recruitment 3. Create an applicant 4. Make the email field empty 5. Go to Generate Offer 6. No validation is shown for an empty email I made the following modifications in this commit. --------------------- If the applicant's or employee's email is unavailable, an error message will be displayed when sending the offer to them. task-3431995
Swiss payroll now shows only the relevant marital status options for the employee's localization instead of combining options from multiple localizations. This keeps employee records clearer and reduces the chance of selecting an incorrect status.
Original PR description
We've now moved the selection options within a dedicated function. This ensures that with each new localization, only the default options plus the options specific to that localization are displayed, preventing the accumulation of all options on top of each other. Task-3478191 related PR on odoo: https://github.com/odoo/odoo/pull/133999
The appraisal list now shows each employee's department and groups records by department by default. This makes it easier for managers and HR teams to review appraisals by organizational area without extra setup.
Original PR description
In this PR, - Added department field on an appraisal to start list view - Set Department as the default filter task-3541390