Daily updates from Odoo
Friday, December 6, 2024
10 changes
9 changes
Enhancements to existing features
Grid views now validate date range settings more strictly, so only supported time periods can be used. This helps prevent configuration mistakes that could lead to incorrect grid displays or data loading issues.
Original PR description
Before this commit, `range` tag can be defined as child of field, that range is used if the parent field is a column and a Date/Datetime field to know the number of grid columns to display and how to fetch data to fill in those columns. However, the content of `span` and `step` attributes defined in the `range` xml tag is not really checked during the xml validation of the grid view. This commit makes sure `span` attribute only contains `day`, `week`, `month` or `year` and `step` attribute is either `day` or `month`. task-4373526
Shift times in the Planning kanban view now hide unnecessary seconds, making schedules easier to read at a glance. Single-day shifts show the date once with start and end times, while multi-day shifts show both full dates and times for clarity.
Original PR description
Removed seconds from the planned date display for shifts in the kanban view, it will improves readability and provides a cleaner display of shift times in the kanban view - for multiple days it will show the full date and time e.g., '10/10/2024 8:00 - 10/12/2024 17:00'. - For the single day it will show only the start date with start time and end time '10/10/2024 8:00 - 17:00'.. task- 4247327
Subscription renewals now update the contract end date only once instead of briefly setting it to today first. This avoids temporary date inconsistencies that could disrupt custom business processes during renewals.
Original PR description
Before this commit, the end_date in set_close was always set to today. During a renewal, it was later updated. Unfortunately, it could break customization when the parent end_date was set to today during a shrt amount of time. During that time, it would be earlier than the start_date and this could lead to issues on some customizations. This change aimes to avoid setting the end_date twice and have single update of the end_date during the renewal process.
This update adds automated test coverage for expanding resources in the Planning app. It helps ensure this scheduling behavior remains reliable in future updates, reducing the risk of regressions for users who manage resource planning.
Original PR description
In this commit: planning expand resource is tested task-4367703
The interview scheduling email template was updated to use a simpler layout that improves alignment. This helps recruitment-related appointment emails look cleaner and more consistent for candidates and recruiters.
Original PR description
- Remove the table structure from "Recruitment: Schedule interview" email template and go for just div to fix the alignment Task: 4363968
The Indian GST reporting module now uses a standard Odoo grouping method instead of custom grouping logic. This cleanup should improve performance and maintainability without changing how users work with the reports.
Original PR description
Before this commit: We created a manual method to group by the journal items After this commit: We cleanup the manual created method and use the orm `grouped` method for better performance
Rental-related website pages are now marked so they can be served by read-only database replicas where appropriate. This helps distribute traffic more efficiently and can improve scalability without changing the customer-facing shopping experience.
Original PR description
Mark readonly routes/methods so that those requests can be handled by readonly database replicas. task-4167831 See also: odoo/odoo#187616
The old mobile testing setup has been removed because those tests now run through the newer testing system. This is an internal cleanup that helps keep the codebase simpler and does not change how users work with Odoo.
Original PR description
Because all mobile tests are now converted to hoot. We decided to remove the `web.qunit_mobile_suite` QUnit suite. task-4028335
The Point of Sale Pricer module now includes its own app icon. This makes the module easier to recognize in Odoo’s app list and improves the overall presentation for users.
Original PR description
added pricer icon to module. 
1 change
Enhancements to existing features
The emoji picker has received small visual refinements to make it cleaner and more pleasant to use. This improves the everyday messaging experience without changing how users interact with the feature.