Thursday, September 14, 2023
14 changes · master
Enhancements to existing features
Report sections that are only used within one parent report now automatically inherit that parent report's filter settings. This reduces configuration mistakes in accounting reports, such as tax report annexes using inconsistent eligibility filters.
Original PR description
When creating a new report and assigning a root report, the filter fields are recomputed to take the same values as the root report by default. This is done to avoid silly mistakes from the user ;…
When creating a new report and assigning a root report, the filter fields are recomputed to take the same values as the root report by default. This is done to avoid silly mistakes from the user ; for example, when configuring a tax report, forgetting to set the only_tax_exigible field. However, nothing similar was done with the sections, and that was very error-prone. Indeed, when a report is created as a section of some other report, and not to be used in any other case, it would be convenient that the report's maker (be it a a developer or a UI user) does not have to care about all the nitty-gritty details of the default values assigned to filters. Taking the same example, what was there before this commit makes it so we could very easily face the situation where a tax report is made with multiple sections for its different annexes, and one of them is missing a True value in the only_tax_exigible field (spoiler: this mistake happened on some development branch of ours). To solve that, when we see a report only belongs to one single composite report, and if it's not callable alone (for this, we check the existent of an action opening it directly, or the presence of a root report fot it), then we compute a default value for the filter fields, using the composite report as source.
Survey users can now subscribe to receive notifications when someone completes a survey response. This helps teams stay informed about completed participations without needing to manually check survey results, while limiting notifications to surveys with relevant followers.
Original PR description
Allow users to subscribe to being notified when a new participation is completed on a survey. Task-3389133
The stock app now places the properties option in the contextual action menu, making the main interface cleaner. The kanban view also shows partner and internal locations directly under view locations, helping users understand location structure more easily.
Original PR description
The properties button has been moved to the contextual action menu. The kanban view now shows partner locations and internal location directly under a view location task 3444583 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting users can now quickly search journal items by debit or credit amount without setting up custom filters. Journal entries also gain an amount-based search option, making it faster to find relevant accounting records.
Original PR description
Problem --------- User want to search on journal items based on the amount. This is doable through custom searches but that is not user-friendly. Objective --------- Add a search based on the amount of an journal item (in credit or in debit) to make it more user-friendly. *Secondary objective*: Add a similar search for journal entry amounts. Solution --------- Declare a computed field for journal entries that the search will be based on and add this field in the search view of the journal items. *Secondary solution*: Add amount_total in the search view of the journal entries. task-3439520 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The point of sale customer display now loads its background image directly from the server so it can be cached. This reduces repeated image downloads and should make remote customer display updates respond much faster.
Original PR description
The customer display loads very slowly in the RemoteDisplay mode. This is in big part because of the large size of the bg image. This image is loaded on every single update of the customer display. This PR makes it so the bg image is loaded directly from the server, in order for it to be cached on the customer display, thus improving considerately the response time. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Expense report PDFs now have a refreshed header and table layout, making them easier to read and share. Supporting attachments are included in an annex, with PDFs merged directly and images shown with their related expense name for clearer documentation.
Original PR description
This pr aim to improve the pdf of the expense report. we have changed the design of the header of the report, the table and also added an annex with the different attachment. task: 3443413 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing order overview reports now show whether production is ready, not ready, or partially ready based on available and reserved component stock. This helps planners quickly see how much can be produced with current inventory and makes the report easier to read with a clearer table header.
Original PR description
Before this commit
==================
Currently, There is no way to know how many qty users can produce with the current stock.
After this commit
=================
With this commit, In the MO Overview report, the following stages are added:
'Ready', 'Not Ready', and '{X} Ready'. the Ready to Produce qty is based on
the component reserved quantity + component free quantity. Furthermore, the
table header in the MO status overview report has been slightly highlighted for
improved visibility.
task-3356499Attachments added to an expense report are now copied to the related journal entry when it is created. This makes supporting documents easier to find during accounting review and audit workflows.
Original PR description
This commit adds a copy of the attachments from the expense report to the created journal entry. task-3443042
Knowledge users can now add or change article icons directly from kanban cards and quick-create cards using the emoji picker. This makes it easier to visually organize articles without opening extra editing views, while respecting article locks and write permissions.
Original PR description
Purpose: - Allow users to set an icon using the emojipicker in item kanbans: - The quick create cards now show an icon placeholder when being hovered, that changes into a random icon when clicked. This icon can be clicked again to select an icon using the emojipicker. - If the article is not locked and if the user has write permission on the article, clicking on the icon of the kanban card now opens the emoji picker. Task-3291762
Resolved issues and error corrections
Lead generation industry options have been corrected to match the external provider’s search terms. This helps users get relevant leads for industries that previously returned no results, improving the usefulness of lead mining searches.
Original PR description
The values used in the industry to obtain lead generations did not align with those of our provider. This posed a problem, as it meant that some queries inevitably returned zero leads. Description of the issue/feature this PR addresses: When a lead mining request was made using the lead generation tool, several industry categories returned no results when selected, even for countries such as the USA. Current behavior before PR: The user's query returned industry ids that did not match up correctly with the keywords used in the lead search. Desired behavior after PR is merged: Now users will be able to choose their industry from a revised list. In addition, the query sent will now contain the name of the industry rather than an id. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update streamlines how the website shop calculates and displays product variants and prices. Customers should see more consistent pricing across currencies, tax positions, companies, and pricelists, with better performance in ecommerce flows.
Original PR description
Clean, factorize and optimize the code related to product variants display and price computation, especially the whole `combination_info` logic, which can now be moved to `website_sale` since the new product configurator used for backend doesn't rely on it anymore. Enterprise PR: https://github.com/odoo/enterprise/pull/41308 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where users could no longer switch how products are displayed in the Point of Sale screen after a recent internal update. Restoring this option helps cashiers use their preferred product layout and keeps the checkout workflow consistent.
Original PR description
After the bootstrap refactoring introduced in this commit cc349515a4923874067705267bbaa383276556e6. The switch product view wasn't working anymore. This commit reintroduce the logic behind the switch product view option. Task-3500621
Fixed an issue where customers using self-order could sometimes miss the pay button after placing an order. This ensures a smoother checkout experience and adds tests to prevent the problem from returning.
Original PR description
*: pos_online_payment_self_order
Since https://github.com/odoo/odoo/commit/605943b5eaafe7e9224f0e7fb4fbdd020102c7a5, the pay button is not always displayed in the self-order UI after clicking on the "Order" button.
The issue is due to the selected_attributes value received from the server, that can be "false", while the JS code of self-order UI is designed with "{}" as the empty/null value.
When the local order of the self-order UI is updated with the data from the server, the false value was saved instead of the {}, resulting in the line being considered as "modified" according to the isChange method which uses JSON.stringify for comparing changes.
The fix consists in correctly updating the local order selected_attributes value when receiving data from the server.
This commits adds some tests for the pay after meal self-order mode, to check that the pay button is visible.
task-id: 3489173This update cleans up how product option and pricing details are calculated for online rental and subscription sales. It improves consistency across companies, currencies, taxes, and price lists while reducing unnecessary processing, helping customers see more accurate website prices.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/121986