Friday, February 24, 2023
14 changes · master
Enhancements to existing features
The state selection dropdown now keeps the current choice visible in the list and marks it with a checkmark. This makes the control clearer and removes the need for an unintuitive tooltip, improving day-to-day usability for users changing statuses.
Original PR description
This commit revamps the UX of the StateSelection field widget. Now, instead of filtering the options by removing the current selected value, the field displays the entire list in the dropdown, and the selected item has a checkmark to indicate its status. This allows us to remove the tooltip, since its presence was not useful anymore, and was unintuitive to use. This changes required to adapt some tests asserting its presence, as well as the number of items shown in the dropdown menu. task #3177182
The portal contact section now only shows phone and city/location icons when those details are actually available. This removes confusing empty indicators and makes customer contact information look cleaner and more accurate.
Original PR description
Description of the issue/feature this PR addresses: in portal, under your contact section, the icon of location/city and phone is displaying even when the city and phone doesn't have values. the pr will display the icons when the field have values in it. Current behavior before PR: the icons are showing without field values  Desired behavior after PR is merged:  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website blog styling has been simplified by removing custom CSS that made blog pages look inconsistent. Blog layouts now rely more on standard Bootstrap spacing, giving visitors a cleaner and more consistent reading experience.
Original PR description
Blogs had custom CSS style that were not beautiful; the standard bootstrap interlines is much better. Removing unnecessary CSS lines. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Expense processing now creates easier-to-track accounting documents depending on who paid: employee-paid expenses use purchase orders, while company-paid expenses create payment-like entries. This reduces confusion from hidden purchase receipts, avoids gaps in document sequences, and makes payment status easier to understand.
Original PR description
Rework of the hr.expense workflow so that: - expenses paid by employee generate purchase.order - expenses paid by company generate entry that look like payments Main reason being that purchase.receipt are not active by default. That makes the entry hard to find, holes in sequences, inconsitency with payment states. It also remove the refusal of expenses as this was dead / inaccessible code, only reports can be refused. task-id: 3126550 [community](https://github.com/odoo/odoo/pull/110518) [enterprise](https://github.com/odoo/enterprise/pull/36090)
The Argentine localization content has been moved from Spanish source text to English source text, with translations handled separately. This makes the localization easier to maintain consistently while preserving native-language support for users.
Original PR description
Before this PR, all this localisation was written in Spanish, but all the localisation have to be written in english and then translated back in the native language. This PR correct that. task-id: 3179209 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Course section pages now display how many slides they contain and the estimated time needed to complete them, making it easier for learners to plan their progress. Time estimates from video and document providers are rounded up to full minutes, and course content can be searched with additional filters such as responsible person, course, and tags.
Original PR description
This commit intends to add information about the number of slides, as well as the time needed to finish said slides to the slide sections. We now also round completion time values up to minute when getting said values from Youtube, Google drive or Vimeo. Task-3054391 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The CRM lead generation buttons are now hidden in views where they are not relevant, reducing clutter and potential confusion for sales users. Some creation options are also disabled in these contexts to keep lead generation workflows focused and consistent.
Original PR description
Remove the "generate leads" buttons from most crm lead views: we do not show buttons if active_model is set to something else than crm.lead. It is both done in the kanban and in the list views. Some create are also set to False. Task-3107232
This update adds a demo express checkout flow so users can see how express checkout works without connecting a real payment provider. It helps sales and implementation teams demonstrate the payment experience more easily in demo environments.
Original PR description
Demo data without forms Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payment providers can now define extra transaction statuses only for the specific flows that need them, instead of applying those allowances across all providers. This reduces unnecessary flexibility in payment handling and helps make refunds and transactions behave more consistently by provider.
Original PR description
Some providers require additional allowed states due to their refund or transaction process justifying it. Until now, these extra states were specified in the `payment` module, which was not ideal as it allowed every provider in every flow to accept these additional states. With this commit, additional states are now specified only in the corresponding flow of a provider that requires them. task-2869678
Survey managers can now filter results using all question types, including text, number, date, and datetime answers. This makes it easier to narrow survey analysis to specific responses and get more relevant insights from completed surveys.
Original PR description
Purpose ======= Improve the results page filter to allow the filtering on questions of type text_box, char_box, numerical_box, date and datetime. Specifications ============== Updating the URL filters representation to avoid passing the question types directly in the URL parameters. Answer matching per question type: - char_box, text_box: 'ilike' - numerical_box, date, datetime: '=' Adding a new filter restricts the current filter results. Handling the filters depending on the 2 different answer models: 'survey.question.answer': matrix, simple_choice, multiple_choice 'survey.user_input.line': char_box, text_box, numerical_box, date, datetime. The filters can be combined but their query count doesn't add up if their related answers data are stored in the same model. Task-3138245
The web editor toolbar and command menu have been cleaned up and made easier to use, especially on mobile devices. The update fixes visual alignment, dropdown behavior, and related display issues in mass mailing so editing content is smoother across screen sizes.
Original PR description
Prior to this PR, there were unnecessary scss for the floating toolbar and the powerbox in the web editor. First commit also fixes some design issues like alignement for the icons in the list of the powerbox, box shadows, and the responsiveness of the floating toolbar on mobile. In commit [1], the toolbar dropdown had the display static added, but it causes problems to the responsiveness. 2th commit put the display back to dynamic on the dropdown and so, fixes the dropdown not showing on mobile because of the overflow-x on auto. The dynamic state also allows the dropdown to change direction (dropdown to dropup) when there's not enough space for the content of the dropdown. 3th commit adds IsMobile 4th commit uses isMobile on the all editor toolbars (frontend and backend) The layout of the toolbar, for mobile, is modified for a better behaviour and design. Prior to this, it's was a horizontal scroll. [1]: 459d4e27a860f3f0308ee0984de6f789baa65424 task-3087826
Appraisal survey results now work with the updated survey filtering experience. This helps users view and narrow appraisal feedback results consistently after the broader Survey changes.
Original PR description
Purpose ======= Updating the module to the new filter results modifications done in Survey. Specifications ============== Adapting the _get_results_page_user_input_domain method to handle the new search domain implementation. Task-3138245
Odoo now keeps the Amazon feed reference created when a delivery is confirmed and checks its final processing status. This helps users see whether Amazon synchronization succeeded or failed, so they can correct delivery information and resend it when needed.
Original PR description
With the Amazon Connector, confirming a delivery sends a so-called "feed" to Amazon. When the feed is created, Amazon responds to the request with only the feed id. It is then processed asynchronously by Amazon and its final status is never communicated by Amazon to Odoo, hence preventing the user from being aware of synchronization issues. Keeping the feed id allows us to query Amazon about its status and process it to know if the synchronization succeeded or not, to keep track of what happens to the picking, and inform the user that he needs to change something to his picking before sending the information back to Amazon should the need arises. task-2801067 See also: - https://github.com/odoo/upgrade/pull/4146 - https://github.com/odoo/documentation/pull/3193
The expense OCR sample workflow was simplified to match the updated expense process. Sample tests no longer create fake payments or accounting entries, reducing unnecessary complexity without changing day-to-day expense handling.
Original PR description
During refactoring of hr_expense (replacement of purchase receipt), we decided that there is no point in creating (fake) payments / moves while testing the OCR with expense samples. task-id: 3126550 [community](https://github.com/odoo/odoo/pull/110518)