Daily updates from Odoo
Thursday, March 9, 2023
10 changes · master
Enhancements to existing features
Users can now find Knowledge articles using the custom properties defined on those articles. This makes it easier to organize and retrieve relevant knowledge content based on business-specific fields.
Original PR description
This will let users search the articles by custom properties (properties that users have defined on the articles). Task-3220869
Helpdesk notification emails now follow updated recipient grouping logic to better support each recipient's language and translated notification actions. This helps customers and agents receive clearer, more localized email communications.
Original PR description
See community PR for more details. This commit simply updates enterprise code (overrides) accordingly. Task-3186426 (Mail: Support notification layout in template / email composer)
Users can now see property fields directly in list views for Helpdesk and Knowledge records. This makes it easier to review important custom information at a glance without opening each individual item.
Project workspaces in Documents now include a “Create a task” action in the demo setup. This makes it easier for users to turn project-related documents into actionable tasks, improving follow-up and project organization.
Original PR description
Description of the feature this PR addresses: - added "Create a task" action to the documents_project demo data Odoo community PR: [105694](https://github.com/odoo/odoo/pull/105694) Task-3067445
Knowledge articles now show icon, cover, and properties actions in the top bar, making them easier to find and reducing extra spacing around article titles. The update also improves properties panel behavior and refreshes article date information more accurately when users open the options menu.
Original PR description
Purpose: - Introducing a new "knowledge_icon" field widget to remove the usage of owl directives in the arch view. Move the "Add Icon", "Add Cover" and "Add Properties" buttons from the article body…
Purpose: - Introducing a new "knowledge_icon" field widget to remove the usage of owl directives in the arch view. Move the "Add Icon", "Add Cover" and "Add Properties" buttons from the article body to the topbar, to remove the margin between the title and the topbar, and to make them easier to find (they now appear when hovering the topbar). The "Add Properties" button is now also shown for root articles, but it is disabled and has a tooltip explaining that the feature is not available for root articles, so that users don't search for this button on root articles. This commit also fixes the properties panel not showing when hiding it and opening another article with the same number of properties. Now, the properties panel is always opened by default if an article has properties. It also fixes the "last edited" and "create" dates in the option panel, which were not updated properly: previously, these were updated when the topbar was patched. However, since the option panel uses bootstrap, the topbar is not patched when opening this option panel. Therefore, if you edited an article, waited for a few seconds, and opened the options panel, it was written that the article had been last modified 0 seconds ago. Now, these dates are updated when opening the bootstrap dropdown instead of when the topbar is patched. This commit also cleans the code of the renderer and the topbar, by trying to remove duplicate and dead code as much as possible. Task-3193808
Odoo now supports capturing only part of an authorized payment directly from a sales order or invoice when the payment provider allows it. This gives businesses more flexibility for subscription billing and helps avoid unintended full captures when only a partial amount should be taken.
Original PR description
Before this commit, it was not possible to partially capture a transaction from Odoo, and doing so in the provider backend would often result in a full capture in Odoo when capture was supported. With this commit, partial captures are made available in Odoo directly from the sales order or invoice, for providers that support them. Provider can either only support full capture or also support partial ones. It also optionally managed the automatic void of the remaining amount at the user request when multiple captures are supported by the provider. For subscription, this mean that the tests had to be adapted accordingly. task-2728768 See also: - https://github.com/odoo/odoo/pull/87251 - https://github.com/odoo/documentation/pull/2063
Spreadsheet lists now automatically include data filters, making it easier for users to sort through and focus on relevant records. The update also clarifies internal naming around global filters, reducing confusion for future maintenance without changing the business workflow.
Original PR description
Add data filters in spreadsheets. When inserting a list in a spreadsheet, a data filter will automatically be added to it. Rename global filters plugins and getters to avoid confusion between filters and global filters. Rename: - plugin `FiltersEvaluationPlugin` to `GlobalFiltersEvaluationPlugin` - plugin `FiltersPlugin` to `GlobalFiltersPlugin` - getter `isFitlerActive` to `isGlobalFilterActive` - getter `getActiveFilterCount` to `getActiveGlobalFilterCount` - getter `getFilterDisplayValue` to `getGlobalFilterDisplayValue` Odoo task 2585911
Users can now copy and paste figures in Odoo spreadsheets, making it easier to reuse visual elements such as charts or other inserted figures. This improves productivity when preparing spreadsheet-based documents and reports by reducing repetitive manual recreation.
Original PR description
Odoo task [2799851](https://www.odoo.com/web#id=2799851&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form)
Spreadsheet context menus were simplified by removing less-used options, reducing clutter for users. Pivot and list actions are now accessed from the spreadsheet topbar under the Data category, keeping important tools available in a more organized place.
Original PR description
Remove some context menu items to reduce cluttering. Adapt the tests to use the menu items in the topbar instead. There is now a "data" category in the topbar menu of o_spreadsheet, append the pivot/list menu items to it instead of remplacing the category. Odoo task [2936630](https://www.odoo.com/web#id=2936630&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form)
Resolved issues and error corrections
The preparation display now ignores products without categories, such as discount or loyalty items, preventing crashes during order preparation. It also sends only the correct preparation stages to each display, helping kitchen or preparation teams see accurate order progress.
Original PR description
*:pos_preparation_display Problem with categories: Before, when a product without a category was sent to the display preparation it caused a crash. Now it is no longer possible to send products without a category to the preparation display. Namely, products without a category are mainly those linked to a discount or loyalty. Problem with stages: Previously, order_stages not belonging to a display preparation were sent to it because of a bad filter in `process_order`. Now the filter has been corrected and this problem is no longer a problem. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr