Daily updates from Odoo
Monday, March 3, 2025
3 changes · master
Resolved issues and error corrections
Email templates across several Odoo apps now use the colors selected in Settings instead of defaulting to Odoo purple. This keeps outgoing emails visually aligned with each company’s branding, including button and button text colors.
Original PR description
**Specifications:** Even after selecting the color of the email templates from the settings, the templates' color was not updating, and the email was sent with the default odoo purple color. **After this PR:** The templates' color will be dynamic, and the emails will be sent with the color selected in the settings app. Task-3929699
The Belgian payroll calculation now respects the “No ONSS” option for posted employees when estimating yearly employer costs. This prevents employer costs from being overstated by excluding ONSS contributions when the checkbox is selected.
Original PR description
For posted employees, the no ONSS checkbox can be checked. If this is the case, the employer yearly cost should take it into account and not include ONSS. Before the fix: the ONSS was taken into account in the employer yearly cost computation After the fix: the ONSS is only taken into account when no ONSS in uncheked task-4559137
The salary configurator now shows only the states or regions that belong to the selected country, making offer setup clearer and reducing selection mistakes. Search fields in selection menus also focus automatically, helping users find options faster.
Original PR description
Behavior before the fix: - When selecting a country in the salary configurator, the list of states was not adapted correctly and showed all states. Behavior after the fix: - The list of states shown corresponds to the ones of the selected country. Steps to reproduce: - Create an employee with a contract - Generate an offer This commit also adds an improvement with the autofocus of the search bar on selection fields. task-4522433