Daily updates from Odoo
Thursday, April 25, 2024
7 changes · master
Enhancements to existing features
Accounting reports can now define custom grouping options beyond standard journal item fields. This gives businesses more flexibility when building specialized reports, such as Intrastat, using custom reporting engines.
Original PR description
Before this commit, the values allowed into the groupby field of account.report.line were restricted to only fields of account.move.line. This, however, was a bit too restrictive for some custom reports we'd like to convert to custom engines (in our case, Instrastat Report), so we decided to solve that by introducing a new hook on the custom handlers, allowing the definition new custom values for the groupby, to use them later on in some custom engines.
This update documents hidden fields that still need to remain in system views and helps identify ones that are no longer necessary. It improves maintainability and reduces unused configuration without changing day-to-day user workflows.
Original PR description
Since https://github.com/odoo/odoo/pull/137031 the invisible fields are add automatically (invisible and readonly) if they are used by python expressions in views (invisible, required, readonly, context, domain...). The mandatory invisible field must be commented just after the field tag. The comment must indicate what is the technical requirement to be present. The goal is to clean all views, improve the comprehention of the addons and remove dead code.
The Documents activity list now gives the “Request a Document” button the same hover styling as related activity actions. This creates a more consistent and polished experience for users managing document requests.
Original PR description
Give the "Request a Document" button of the activity list the same style on hover as the activity elements. Task-3862008
The Helpdesk portal search experience has been updated to better match the internal back-office view, with clearer search fields, filters, and grouping options. Ticket description search was removed to improve performance, while portal users gain better ways to search and group related ticket timesheets.
Original PR description
This PR aims to bring the portal search view closer to that of the back end. In order to do that, it adds, removes and reorganizes some search fields, filters and groupbys. Community: https://github.com/odoo/odoo/pull/132877 Task-3444823
The Australian payroll termination process has been streamlined to make ending employee contracts easier and more accurate. Updates to termination payments, payslip handling, salary rules, and employee views help payroll teams manage final payments with fewer manual steps and clearer information.
Original PR description
This will improve the flow for terminating an employee's contract. Task: 3822626
Odoo no longer includes selected company IDs in URLs for several apps, making shared links easier to read and preventing them from changing a user's active companies. When access depends on company permissions, users get a clearer path to switch to a company that can open the record.
Original PR description
*: [account_reports, documents, social, stock_barcode, web_studio]
The aim of this commit is to remove the companies IDs from the URL, and
use only the cookies to store the selected companies.
This commit will also improve the handling of access errors. If a user
encounters an access error, if one of its allowed companies has access
to the record, a button to switch to the correct company is shown.
The purpose of this is double: to have more human-readable URLs (part of
the task id : 3557575), and to avoid modifying the current selected
companies when clicking on a shared URL.
Note that this commit also modify the way the companies IDs are encoded
on the cookies. Before this commit, the IDs were separated by a comma
(",") and they were encoded as \054 by the server side but not by the
client side. Now, we use a dash ("-") to have the same encoding in both,
server side and client side.
task-id 3792021
Co-authored-by: Damien Bouvy <dbo@odoo.com>This change adds the ability to generate XLSX bank payment files from UAE payroll records. It helps payroll teams prepare bank submissions more efficiently and reduces manual spreadsheet work.
Original PR description
Change adds xlsx file for UAE bank generation. Comes from this PR (16.0): https://github.com/odoo/enterprise/pull/59194 Task: 3651407