Daily updates from Odoo
Thursday, May 16, 2024
7 changes · master
Resolved issues and error corrections
This update fixes visual issues introduced by the customer portal redesign, especially around sidebar spacing, buttons, badges, and layout consistency. It improves the portal experience across appointments, documents, helpdesk, subscriptions, and signing by making pages look cleaner and more predictable for customers.
Original PR description
This PR has two main objectives : ## Sidebar layout During the portal redesign, we decided to make the sidebar width adapts to its content. While this approach helped us to avoid layout issues, it…
This PR has two main objectives : ## Sidebar layout During the portal redesign, we decided to make the sidebar width adapts to its content. While this approach helped us to avoid layout issues, it was sometimes too much content dependant, meaning that when more when two buttons were displayed side by side it would look okay, while having only a single button would place the sidebar at the extreme opposite side of the invoice, making it floating into the layout. This PR reverts this approach by applying a fixed width to the sidebar, and uses some padding utilities to prevent cluttered layouts. **Note:** This PR only includes important fixes that either: (1) make the user experience not as good as it should be ; (2) are needed to ensure that new features/changes that are being made to the Customer Portal this year provide a good visual result. Other PR's will follow to refine the design of the customer portal introduced in Odoo 17. ## Bugs, inconsistencies or forgotten views of the customer portal UI When the portal redesign happened, an overlay of design was applied to the templates, but the templates themselves were not really revamped and/or cleaned. This created a lot of unused utility classes, useless HTML tags, etc. - task-3703251 - follow up of task-3046004
The Bank Reconciliation message link to the General Ledger now carries over the user's selected settings, such as the reporting date. This helps users compare balances using the intended context and avoids confusion from mismatched report views.
Original PR description
When clicking on the "General Ledger" part of the "The current balance in the General Ledger didn't match the balance of your last bank statement, leading to an unexplained difference of [...]" message in Bank Reconciliation, settings such as the date weren't properly transferred. task-3928454
The Request Signature action now appears only on records that support chatter-based tracking. This prevents users from seeing the option in unsuitable places where signature requests could not be properly followed up.
Original PR description
Before this commit: The action of "Request Signature" was shown in weird records accross Odoo. The idea was to allow adding it in records like tasks, documents, but it is being shown in records that do not have the chatter available to track the signature requests. This commit aims to fix the issue by adding a new condition for displaying that action, that is: check if `message_ids` is present on the view fields. since `message_ids` should be available only in chatter. Task: 3861299
This update fixes an internal Planning test setup so it no longer depends on optional demo data. It helps keep automated checks reliable across different database configurations without changing the user-facing Planning experience.
Original PR description
Before this commit, the #55625 altered the planning_tests_tours to change Aaron into Mitchell Admin for the resource assigned to the shift created inside that tour. The problem is `Mitchell Admin` is a demo data and so, the tour will create a new resource when we have no demo data inside our DB. If the changes made by this PR in that tour are reverted then another error is raised due to a timezone mismatch. This commit reverts the changes made by #55625 inside planning_tests_tours and change the timezone of `Aaron` resource created inside the python test.
The EC Sales list now keeps the date and other report settings when opened from the Belgian tax report reminder. This helps users submit reports for the correct period and reduces the risk of filing with mismatched information.
Original PR description
When accessing EC listing through the "Do not forget to submit the EC Sales list report" warning, the tax report's options used not to be passed onto EC listing. This also fixes some Python stylistic warnings. task-3891799
The spreadsheet edition now uses the current search icon reference after an older find-and-replace icon name was removed. This prevents the global filters area from pointing to an outdated icon and helps keep the interface displaying correctly.
Original PR description
Since https://github.com/odoo/odoo/commit/554fe45c5f9c4103a126c080d030adce2e6dc871, FIND_AND_REPLACE does not exist anymore and has been replaced by SEARCH.
A planning test was updated to choose the intended button more reliably. This prevents test interference from the tour recorder and helps keep planning quality checks stable.
Original PR description
Before this commit, the selector for a button was not enough precise and with the tour recorder showing everywhere, the selector was selecting the recorder button instead of the right button. After this commit, the selector is more precise and should only select the right button. task-id: 3927002