Daily updates from Odoo
Wednesday, August 31, 2022
11 changes · master
Enhancements to existing features
Planning no longer tracks schedules at the individual task level, reducing detail that users need to manage. This simplifies planning screens and related project, timesheet, contract, and sales forecasting workflows so teams can focus on broader resource planning.
Original PR description
* = project_forecast, project_timesheet_forecast, project_timesheet_forecast_contract, project_timesheet_forecast_sale, sale_project_forecast In this commit we have edited all the models and views of the planning app in order to remove the task_id field and its dependencies. Along with that, we have removed/modified other fields/views in other apps (project, timesheets) that are related to the planning app's task_id field. This is done in order to simplify the planning app for the end users, by reducing the granularity of their planning info. task-2941828
The push notification feature now uses clearer wording for an editor role, replacing an older publisher label. This makes permissions easier to understand and includes a small internal cleanup to use the current website context more consistently.
Original PR description
https://github.com/odoo/odoo/pull/98200 https://github.com/odoo/upgrade/pull/3808
Documents receives a more polished user experience for browsing, previewing, organizing, and sharing files. Users can manage workspaces and tags directly from the search panel, share files with fewer steps, see PDF thumbnails, and use improved keyboard and viewer navigation.
The appointment booking search bar now displays suggestions as users search, making it easier for visitors to find the right appointment type. The search respects existing page filters, and invited users can also find appointment types that are not publicly published when they use a valid invite link.
Original PR description
Purpose ======= Use the new website searchbar which displays suggestions Specifications =========== Converting some instance methods of the controller to be static in order to reuse the logic for the appointments selection while computing the search results. This new search bar respects the URL-provided filters and a user with a valid invite token is able to search for unpublished appointment types. Task-2888646
The PLM toaster notification button and quantity update button were modernized in the manufacturing PLM interface. This should improve maintainability and keep the user experience aligned with the newer Odoo web interface without changing core business workflows.
Original PR description
convert plm toaster and plm udp qty button to wowl task-id: 2885757
Odoo now prevents creating account codes that contain characters unsupported by the new reporting engine. This helps avoid report generation issues by allowing only letters, numbers, and dots in account codes and templates.
Original PR description
The new account report engine requires account codes to only contain alphanumeric characters and dots. Add two new constrains on account_account and account_account_template to block the creation of accounts with codes that would cause issues in account reports. Task id #2960486
The separate Intrastat expiry module has been folded into the main Intrastat reporting module. This simplifies module management going forward while keeping the related reporting data, views, and tests under one place.
Original PR description
"account_intrastat_expiry" was introduced in stable. No need to keep it a separate module going forward. Task: 2732930
Knowledge article sample data now uses a light purple color for highlighted text instead of green. This makes it easier for users to tell regular emphasized text apart from clickable links.
Original PR description
Currently, some text in article data has the color green as the link text. As we can have more links, we are changing the color of the text so that it is easier to distinguish between the text and the link. This PR replaces the green text with a light purple color. taskID: 2962899
The SEPA Direct Debit payment form has been redesigned to be clearer, better aligned, and easier to use during checkout or payment method management. The update also improves accessibility and makes the SMS verification flow more intuitive for customers.
Original PR description
This commit revamps the template responsible for SEPA Direct Debit's payment form in order to: - Align the form inputs and make them use all the form's width (the layout broke with commit 971e5a91). - Use the checkout/manage form's `<form>` element to get rid of the complexity of custom forms built with Bootstrap's `row`s and `col`s. - Re-structure the form to use only one column with the labels above each input. - Improve the accessibility by linking inputs to their labels and inline descriptions. - Increase the size of the "Send SMS" button's text. - Make the "SMS Sent" label use the same styling as the "Send SMS" button. - Disable the verification code input until the SMS is sent rather than making it readonly. - Rely on elements' `id` rather than `name` attribute to hook the JS. - Get rid of custom SCSS and useless HTML. task-2959789
The timesheet settings now block changes to older entries based on each employee's latest validated timesheet date, rather than a fixed number of past days. This makes timesheet controls more consistent with validation status and helps prevent edits to already approved work records.
Original PR description
In this PR, timesheets_past_days_encoding_limit was removed. Now, when prevent_old_timesheets_encoding is activated, it's not possible to create, write and delete timesheets with a date <= timesheet.employee_id.last_validated_timesheet_date last_validated_timesheet_date is a new field added in 'hr.employee' last_validated_timesheet_date = max(date of validated timesheets for the employee) Related Prs: upgrade: https://github.com/odoo/upgrade/pull/3756 Task-2946737
Planning now includes overtime shifts in filters, making schedules easier to review. Users who plan sales orders can jump directly to the newly created shifts, and the guided tour has been improved so completion feedback appears at the right time.
Original PR description
Planning > Filters : Add shifts in overtime. Planning > Plan Orders > Succes notification : Add a button 'View Shifts' to see the orders just planned. Planning > Tour : Rainbow man should be displayed when the user is back on the planning view, after publishing it. Yet when a resource is added during the tour, a modal pops to add an employee and rainbow man pops behind it. To solve that, and to enrich the tour, 2 more steps were added: see next period and copy previous task-2851381