Daily updates from Odoo
Navigate
Branch
Wednesday, October 9, 2019
12 changes
Enhancements to existing features
Odoo now prevents internal reference IDs from being saved with spaces, which helps avoid problems when data is imported, exported, or linked across the system. This improves data reliability by blocking a known source of errors before it can affect business processes.
Original PR description
This introduces a new constraint to the `ir.model.data` model, to disallow external IDs containing spaces. Those cases may cause issues and should be avoided. For more information about why an external ID containing spaces is a bad idea, see: - https://github.com/odoo/odoo/commit/3c568aec0b46 - https://github.com/odoo/odoo/issues/25408 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This updates Odoo's required image-processing library to match the version available in the current Debian release. It keeps deployments aligned with supported system packages and prepares Odoo to use newer image-handling capabilities in future improvements.
Original PR description
[IMP] packages: match PIL to debian version https://packages.debian.org/buster/python-pil As of today, python-pillow is at 5.4 in the latest debian release This allows to update the deprecate the older versions Newer versions have new features like the exif_transpose method in 6.0 as discussed at #37448 Forward-Port-Of: odoo/odoo#38189
Resolved issues and error corrections
The replenishment wizard in Inventory no longer allows users to create new products from that workflow. This reduces accidental data creation and keeps replenishment focused on managing existing stock items.
Original PR description
[FIX] stock: do not create products from replenishment wizard. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38256
Fixed an issue where creating a new linked record from a list field could briefly flash and disappear when the user clicked away. The creation window now remains open, allowing users to finish entering the new value without interruption.
Original PR description
[FIX] web: list many2one quick-create Allows the quick create on m2o in list views Before this commit, when entering a new value in a many2one in a list and exiting the cell through a click, the quick-create modal appeared for the duration of the mousedown. Now, the modal remains and allow to edit the new many2one value Task 2076380 Forward-Port-Of: odoo/odoo#38237 Forward-Port-Of: odoo/odoo#37721
This fixes an installation issue in the Italian electronic invoicing module by ensuring a required email-related component is installed first. Businesses using Italian localization can install the module more reliably without manual setup workarounds.
Original PR description
Description of the issue/feature this PR addresses: `l10n_it_edi` [inherits](https://github.com/odoo/odoo/blob/5f6c09ca4df7e8ac6fa0c00aee9e7350aff51705/addons/l10n_it_edi/models/ir_mail_server.py#L29) `fetchmail.server` model and [extends](https://github.com/odoo/odoo/blob/5f6c09ca4df7e8ac6fa0c00aee9e7350aff51705/addons/l10n_it_edi/views/l10n_it_view.xml#L3-L15) its form view, however it does not have `fetchmail` in its transitive dependencies. Current behavior before PR: Installing `l10n_it_edi` when `fetchmail` is not already installed results in:  Desired behavior after PR is merged: `l10n_it_edi` module can be successfully installed if `fetchmail` is not already installed. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue in the Lunch app where product report record identifiers could change after updating a favorite setting. The correction keeps report entries stable, reducing confusion and preventing unintended changes when users manage lunch product favorites.
Original PR description
[FIX] lunch: avoid rewriting ids The wrong order was used in the row_number call, which lead to ids changing when writing on `is_favorite` Forward-Port-Of: odoo/odoo#38092
This fixes a crash that could occur in Firefox when users clicked inside the product matrix while creating a sales order. The change prevents an unexpected browser selection issue from interrupting the order-entry flow.
Original PR description
[FIX] web_editor: don't crash if anchorNode is Reserved. When sale_product_matrix and sale_quotation_builder are installed: Firefox --> Sales --> New order --> New line with product "Company T-shirt" --> click somewhere on the matrix : traceback. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38077
When converting a CRM lead into an opportunity, choosing not to link a customer now leaves the opportunity without a customer. This prevents unwanted customer links and keeps sales records aligned with the user's selection.
Original PR description
[FIX] crm: lead to opportunity no link partner Have a lead with a partner on it, convert it to opportunity in the conversion wizard, tick "don't link to customer" Before this commit, the opportunity has been linked to the lead's partner After this commit, the opportunity is not linked to any partner OPW 2077692 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 Forward-Port-Of: odoo/odoo#38202
The Save button in editable list views now performs the expected save action instead of only relying on users leaving the field. This ensures translation dialogs close properly after saving, reducing confusion and extra clicks for users.
Original PR description
Currently Save button(.o_list_button_save) in List view have no any bind method. Save and update is handled based on the focus out for the editable=True field. "Save" button is just to pretend to be focus out. Now we have added the binding method for the "Save" Button(.o_list_button_save) and handled Close dialog based on that. Description of the issue/feature this PR addresses: * Task: https://www.odoo.com/web#id=2044227&action=327&model=project.task&view_type=form&menu_id=4720 * Pad: https://pad.odoo.com/p/r.8fb0aea0c803d9324fff8d86495ca8d5 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
Backend input fields now discourage browser autofill by default, reducing cases where saved browser data appears in the wrong place. This helps avoid confusing or accidental changes, especially when users work with pop-up dialogs or forms.
Original PR description
We don't want the browser to fill inputs in the backend. Most of the time this is useless but sometimes it is even problematic. For example, focusing an input in a modal can trigger autofill not only in the modal but also in the whole page. If there is an input outside the modal and it is recognized by the browser as a candidate to fill, bad things occur. For that reason, we set the attribute autocomplete to "none" by default for input elements. Note that "off" does not work all the time because the browsers sometimes decide to ignore it. Task ID: 2076730
This fixes a layout issue in the Mail chatter where composer tools were shown below the message box instead of beside it. The change restores the expected placement, making message composition look and work as intended for users.
Original PR description
After commit ef46378, the position of the composer tools of the chatter was below the text area instead of at the right of it. This is because one div inside the flexbox was no longer diplayed as a flex or absolute. By setting that disabled textbox to position absolute, the flexbox can be displayed normaly again. Forward-port of https://github.com/odoo/odoo/commit/2a868edfdd89c473e9e2eb06ad7e69a5279c6c83
This fixes a naming inconsistency in the VoIP call tracking code that could cause crashes when users placed calls from the activity widget. The change makes call behavior more reliable without changing how users interact with the VoIP feature.
Original PR description
The variable `_currentPhoneCallId` is sometimes called `_currentPhonecallId`, which leads to crashes when calling from the activity widget. We make the variable name consistent accross the files. Forward-port of https://github.com/odoo/enterprise/pull/5968