Daily updates from Odoo
Monday, March 3, 2025
7 changes
3 changes
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
4 changes
Resolved issues and error corrections
This fixes an issue where duplicated users could run into problems when sending invoices by post from Accounting. The sending setup now uses the correct user and contact details, reducing failed or incorrect invoice delivery attempts.
Original PR description
### Steps to reproduce: - Duplicate a user - Login to this user - In Accounting select an invoice and try to send it by post ### Cause: The keys `author_user_id` and `author_partner_id` have switched values. They should be like in the [batch](https://github.com/odoo/odoo/blob/becbccbef5f2aa6b062d8b3714c233dbeaca9c98/addons/account/wizard/account_move_send_batch_wizard.py#L91-L92). opw-4531514
Fixed an error that could prevent combo product pages from opening when website prices are configured to include tax. This helps customers browse affected products normally and avoids disruption during online shopping.
Original PR description
A typo caused a traceback error in combo products when the tax is included in the website. Steps to reproduce: - In Website settings, enable "Display Product Prices" with tax included. - Go to Sales > Products > Products. - Chose a combo product - Click on "Go to Website." opw-4613545
Field service users on mobile can now create appointments from empty calendar slots with the correct default dates and open existing calendar items for editing. This prevents accidental creation of duplicate tasks and makes mobile scheduling more reliable.
Original PR description
Steps to reproduce ================== - Use a mobile viewport - Go to field service - Switch to the calendar view - Click on an empty slot to create a new record => The default dates are missing - Go back to the calendar view - Click on an existing record => We should be able to edit the selected record, but instead, we can create a new one opw-4596689
This fix prevents document uploads and related sharing flows from crashing when a custom action leaves an invalid token behind. Users should see more reliable document handling instead of unexpected errors caused by malformed links or request data.
Original PR description
Bug === Some custom actions might change the token for some reason, if that code is badly implemented, it will result in a crash when uploading on the request. Task-4492764