Daily updates from Odoo
Wednesday, August 31, 2022
5 changes
Enhancements to existing features
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
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 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