Daily updates from Odoo
Thursday, May 23, 2024
20 changes
14 changes
Enhancements to existing features
Users can now choose a marketing campaign template directly when creating a new campaign, or start from scratch if preferred. This makes existing templates easier to discover and use, while also allowing standard marketing users to create campaigns from templates without admin help.
Original PR description
Add a template selection dialog modal:
Marketing campaign templates had been added, but they were inaccessible
once a campaign had been created.
This commit adds a dialog modal that replaces the usual behavior when
trying to create a new campaign with the "New" buttons.
The modal allows choosing a template from a list, including a "Start
from scratch" (empty campaign) option.
The old helper is simplified: it no longer displays marketing campaign
templates.
New files are created to accomodate the new Controller classes used to
display the modal in all Kanban, List and Form views.
The files created by the precedent commit would clog up the main JS
folder, and are therefore moved to dedicated subfolders.
Rectify SVG template icons:
The SVG files for each FontAwesome icon used in the template picker
helper were either too wide or too narrow.
This corrects these icons; the missing FA license mentions have also
been added.
task-3603400VoIP users can now place an active call on hold and resume it directly from the softphone. The mute control has also been clarified so it now mutes the user's microphone, making call handling more intuitive.
Original PR description
We finally have a button to hold/unhold during a call. Also, since we can now hold a call, the Mute button now will now mute your microphone instead of muting your speaker. Task-3670392
Search screens in several Odoo apps now use updated date filter options and improved filtering behavior. This makes reports and operational views more consistent and easier to use across areas such as Helpdesk, Payroll, Planning, Rentals, Stock, and Knowledge.
Original PR description
This PR updates various search views following the change to date filters in the community counterpart. It also brings some changes in search views using the new features brought by those changes. Community: https://github.com/odoo/odoo/pull/156746 Task-3692123
Restaurant staff can now manage table bookings directly from the point of sale interface. This reduces the need to switch to the back office, helping teams handle reservations faster during service.
Original PR description
In this commit we introduce the ability to book tables directly from the pos ui, by opening the gantt view of `appointments` in a dialog. This means that users will no longer need to navigate to the backoffice to manage appointments. Task: 3861885
Moroccan invoice templates now include the ICE business identification number for companies and partners when available. This helps invoices meet local administrative and legal requirements in Morocco.
Original PR description
[IMP] l10n_ma_report: Add ice number Adding ice number to morocco's companies' and partners' invoices template as part of the address Reason: The ICE (Identifiant Commun de l'Entreprise) is an identification number assigned to businesses and legal entities for various administrative and legal purposes in Morocco. If the partner has one, it must be indicated on the invoice. Task-3877546 Community-pr: https://github.com/odoo/odoo/pull/162669
The product form has been reorganized to make key settings easier to understand and find. Labels and filters were clarified for rentals and subscriptions, while product details such as pricing, versions, and categories now appear in more relevant places.
Original PR description
This commit do following changes: - Hide category field for combo products. - Update tour steps according to community changes. - Move version field to inventory module. - Move pricer section to POS page. - Change rent_ok field to `Rental` instead of `Can Be Rented`. - Change can be `Can Be Recurring` filter to `Subscriptions`. task-3526304
Product and appointment-related flows were simplified by removing the special booking fee product type and updating related sales, payment, and website appointment behavior. This should make product setup clearer and reduce unnecessary complexity for teams managing appointments and online sales.
Original PR description
The following changes have been made in this commit: - In the product form, several strings have been renamed. - The stat buttons are reordered. - Remove SLA policy from helpdesk - Removing the All Category and making a flat hierarchy. **Target version**: master **Task**: 3526304
The barcode app’s operation list now highlights useful context, including operation descriptions and batch counts, so warehouse teams can identify the right workflow faster. It also defaults to showing favorite barcode operations, reducing clutter and helping users focus on their most-used tasks.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/150360
Manufacturing teams can now open related shop floor work directly from a manufacturing order and add or edit shared log notes for manufacturing and work orders. Product analysis also gains expected unit cost figures for components, work centers, employees, and totals, helping compare planned costs with average costs.
Payroll users can now generate payment reports as CSV files from individual payslips or payroll batches. The change also standardizes the reporting flow so future payment formats can use the same buttons and wizard, reducing training and operational friction.
Original PR description
* = hr_payroll_account_sepa With this, we can generate a payment report for any payslip/batch as a .csv. Also make it so that when new modules introduce other payment report formats, they are handled with the same buttons and wizards. Task: 3880728
The Amounts to Settle view now includes a reconcile button, making it easier for accounting users to handle outstanding items directly from that screen. This supports the expanded view, which now covers more move types such as sales, purchases, incoming, and outgoing entries.
Original PR description
This commit improves the Amounts to Settle view by adding a reconcile button on it. This behavior is now desired because the view shows all types of moves (out, in, sale, purchase) which it did not before so this button is needed. --- Community PR: https://github.com/odoo/odoo/pull/158014 Upgrade PR: https://github.com/odoo/upgrade/pull/6036 task-3640027
The Documents app interface has been refined to make everyday document work clearer and faster. Users get cleaner document cards, simpler search filters, clearer inspector actions, improved configuration menus, and more control over tag category colors.
Original PR description
This commit performs the following changes in the view of documents module: - Reshuffle the star icon and the owner avatar in kanban title. - Increase the visibility of the document record selector…
This commit performs the following changes in the view of documents module: - Reshuffle the star icon and the owner avatar in kanban title. - Increase the visibility of the document record selector icon in kanban view. - Rename and reorganizes some search filters and remove activity-related filters section. - Merge the functionality of "Documents" and "File Extension" search filters under one single search filter that goes by the name "Name/Extension". - Make the labels of actions in documents inspector clickable and remove the preceding play icon. - Remove icons that precedes the field labels in documents inspector. (i.e. 'Workspace', 'Model Name', 'Tags', 'Actions' and 'History') - Simplify list view of 'documents.folder' model by displaying only the `Name` field by default all others are optional. - Change the 'Content Helper' message of the 'Trash' folder. - Add a placeholder for the 'Message' field in the 'Request File' wizard. - Change the position of lock icon in the kanban title. Add bootstrap classes to properly display the document name. - Restructure the list view of 'Workflow Rules' (Actions). This commit also allows the user to manually change tags group color by using a color picker. And it finally change the structure of the configuration menu. Task-3874977
The rental shopping experience is refined with clearer date pickers, better mobile filter spacing, and more visible guidance messages. Rental snippets and product pages now follow a more consistent layout, making it easier for customers to choose rental dates and understand pricing.
Original PR description
### 1. Adapt spacing in mobile filters Prior to this PR, there was a spacing issue between the date picker and the title in the offcanvas menu for filters. This PR fixes this issue. ### 2. Rental…
### 1. Adapt spacing in mobile filters Prior to this PR, there was a spacing issue between the date picker and the title in the offcanvas menu for filters. This PR fixes this issue. ### 2. Rental datepicker adaptations This PR reviews the design of the datepicker to make it easier to use. ### 3. Display disclaimer in tooltip Prior to this PR, there was a disclaimer as a title attribute in the rental filter. But this message is too important to be displayed as a regular title attribute. This PR highlights this message by displaying it in a tooltip available when hovering an "info" icon. ### 4. Rental snippet adaptations **Design adaptations:** Since the adaptations made to the design of the rental datepicker, this PR reviews the design of the rental snippet to maintain a consistent layout. **Generate unique ids for rental snippet:** We now use the calendar icon next to the input as a label. To be clickable, this label must be linked to the corresponding input by an id. To avoid duplicate ids when several snippets are in the page, this PR generates unique ids for each input. ### 5. Refine the product page layout This PR moves the price to the same place and style as the other product types to maintain a consistent layout. It also adapts the style of "Pricing" title for the same reason. --- Requires: - https://github.com/odoo/odoo/pull/153374 task-3637980 --- | Before | After | |--------|--------| |  |  | |  |  | |  |  | |  |  | |  |  | |  |  | |  |  |
HR teams can now choose how many people need to sign an employee contract and specify exactly which users should sign. This gives businesses more control over contract approval workflows and better supports company-specific signing policies.
Original PR description
Allow to change the number and the users of signatories in hr_contract task-id: 3332971
6 changes
Enhancements to existing features
This update enhances the testing framework for Mexican electronic invoicing (CFDI) by adding tools to easily validate test files with current dates and switch between test and production modes. This allows the system to send XML files directly to Mexico's SAT (tax authority) for real validation, ensuring the generated documents meet official requirements.
Original PR description
Add a setup allowing you to easily create xmls at today date and switch from external to standard mode. That way, in external mode, the XMLs are really send to the SAT in order to ensure their validity. community PR: https://github.com/odoo/odoo/pull/163938 Forward-Port-Of: odoo/enterprise#61741
This update improves the image editing experience in the web editor by allowing users to press the Escape key to quickly exit image transformation mode. Additionally, it prevents accidental image deletion when users are actively resizing or transforming images, making the editing interface more intuitive and user-friendly.
Original PR description
Desired behavior after PR is merged: I. This PR implements a functionality where pressing the `Escape` key removes the transform widget from the image. II. Also it ensures that pressing any character key does not result in the removal of the image when the transform widget is active. task-3839151
This update simplifies how the system retrieves shopping cart quantities for products, particularly those available for backorder. Previously, the cart quantity method would always return zero for out-of-stock items, limiting its usefulness. Now it provides accurate cart quantities for all products, making the system more flexible and reducing code duplication across the platform.
Original PR description
Description of the issue/feature this PR addresses: Improve versatility of `_get_cart_qty` method for 'product.product' model. As of now, this method automatically returns zero, for all products that…
Description of the issue/feature this PR addresses: Improve versatility of `_get_cart_qty` method for 'product.product' model. As of now, this method automatically returns zero, for all products that allow ordering when out-of-stock. This bit of logic is only necessary in one place (to generate combination info to display in `website_sale_stock.product_availability` view), making the method effectively useless in other places, like community modules. This commit simplifies the `_get_cart_qty` method logic, to make it more usable, and delegates the removed check only to the `_get_additionnal_combination_info` override. This also allows the method to be used in `_get_cart_and_free_qty`, to avoid needing to override cart quantity acquisition logic in multiple places. Current behavior before PR: The `_get_cart_qty` method, automatically returns zero, for all products, that allow ordering out-of-stock, preventing acquisition of cart quantity using this method, for these products. Desired behavior after PR is merged: Being able to get the current cart quantity for all products, using this method. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When users upload files in Odoo, the system now sends the activity ID along with the file. This prevents duplicate documents from being created when a file is uploaded as part of an existing activity, improving the user experience and data organization.
Original PR description
When uploading a file, the activity ID is now sent to the server. This will help (for example) to avoid creating a second document if the file is uploaded in the context of an existing activity. ENT PR: https://github.com/odoo/enterprise/pull/59796 opw-3458850 Forward-Port-Of: odoo/odoo#164964 Forward-Port-Of: odoo/odoo#159943
This update improves the Spanish electronic invoice (Factura-E) export functionality by adding two important fields: FileReference and FileDate. These fields are now included in the exported invoice documents, ensuring compliance with Spanish electronic invoicing requirements and improving the completeness of exported financial records.
Original PR description
FileReference and FileDate fields are added to the Factura-E export. task-3864452 Forward-Port-Of: odoo/odoo#162791
This update adds a safety constraint to the HR module that prevents users from being accidentally deleted when they are linked to an employee record. Now, users must be manually removed from the employee record before they can be deleted, reducing the risk of unintended data loss.
Original PR description
Before this commit, you can delete an user linked to an employee without any warning. With this constraint, you need to manually remove the user on the employee record, so it cannot be done by accident.