Daily updates from Odoo
Friday, January 24, 2025
8 changes · master
Enhancements to existing features
Company fields that can be left empty now show a "Visible to all" placeholder across several Odoo apps. This helps users understand that records without a specific company are shared across all companies, reducing confusion in multi-company environments.
Original PR description
### Purpose: Explain to users that when the field is not set, the record is shared across all companies ### After this PR: Added 'Visible to all' placeholder in company_id fields where, - its not a required field, - readonly="False" if have a default value or related/computed field Task-4159940
This update standardizes how internal administrator access is referenced across multiple Odoo Enterprise apps. It supports ongoing core maintenance and reduces technical inconsistency without changing day-to-day user workflows.
Original PR description
odoo/odoo#182371
Checkout items are now grouped and labeled so customers can easily distinguish rentals and subscriptions from regular purchases. This reduces confusion about which products are covered by rental periods or subscription terms, and removes the rental period display when no rental items remain in the cart.
Original PR description
Previously there was no differentiation between rented items, subscriptions items and purchased items, creating a misunderstanding with which items does the rental period applies to. This PR reviews the rented and subscribed items to differentiate them from the purchased items on the checkout page. Currently on the cart if the user delete all rental products, the rental period stays in the UI. This is solved with the `cart.js` file. Community PR: https://github.com/odoo/odoo/pull/189905 task-3531721
The contract signing flow now shows clearer guidance when preparing documents for signature. The update simplifies the screen by replacing an upload button with text and removing an unnecessary warning icon, making the process less distracting for users.
Original PR description
- Updated the warning message. - Replaced the upload button with a text element. - Removed the warning icon. task-4453468
The Salary Register wizard for Indian payroll now lets users filter employees based on whether their payslips are in Paid or Done status. This makes payroll reporting more precise and helps payroll teams focus on the correct employee records.
Original PR description
Added functionality to the salary register wizard to filter employee records based on the status of their payslips. The filter now includes 'Paid' and 'Done' stages. task-4432467
The WhatsApp integration no longer shows a toaster notification when someone leaves a discussion channel. This reduces unnecessary alerts and keeps the user experience cleaner during channel membership changes.
Original PR description
Enterprise counter-part. Discussed as part of task-4488437 https://github.com/odoo/odoo/pull/195008
Gantt views now choose the time scale automatically based on the selected date range, removing separate scale controls such as the range input and plus/minus buttons. This simplifies scheduling screens and keeps planning, attendance, appointment, and work entry timelines consistent while preserving special one-period ranges where operational actions depend on them.
Original PR description
The principal aim of this commit is to remove the range input and the +/- buttons of the gantt view control panel. Those used to allow to modify the scale (the type of columns used by the gantt view)…
The principal aim of this commit is to remove the range input and the +/- buttons of the gantt view control panel. Those used to allow to modify the scale (the type of columns used by the gantt view) independently from the range (the period of time considered). This means that the scale is once again (like before [1]) determined by the type of range used. To achieve this, we have reworked the way ranges and scales are set so that we still keep some of the benefits that were acquired with [1]: - The previous ranges "Today", "This week", "This month", "This quarter", and "This year" have been replaced by new ranges "Day", "Week", "Month", Quarter", "Year". Those ranges are built as 3 period of the given type centered around the current date and use respectively the scales "day", "week", "month", "month", and "year". This works differently in the work_entries_gantt and planning_gantt views. In those views, the ranges are set to be only 1 period of the given type so that buttons like "Copy previous week" still work as expected. - The scale associated with a custom range is determined by its length in days. For example, for a period of more than 365 days, the scale used is "year". In that way, even for the work_entries_gantt and planning_gantt views, it is possible to work in a range a bit bigger than a day or a week for instance while keeping the appropriate scale. This means also that it is no longer possible to look at ten years in hour precisions but this should not be a problem. Task ID: `4350742` [1]: https://github.com/odoo/enterprise/pull/55618
This update adjusts tests after required full-time hours became calculated automatically. It helps keep working schedule checks aligned with the updated behavior and reduces false test failures.
Original PR description
- AS `full_time_required_hours` became computed the test should be adabted Task: 4313444