Thursday, October 10, 2019
18 changes · master
Resolved issues and error corrections
The email compose wizard now handles cases where recipients and a message template are selected together without causing an error. This helps users send templated messages more reliably and avoids interruptions during communication workflows.
Original PR description
[FIX] mail: message compose wizard if partner_ids and template_id are set, a traceback happens. Indeed, some mail fields are not taken from the res_ids when partner_ids is set. When trying to update the values with the one from the template, the existing values are popped, which raised an error as those keys weren't set. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38298
Point of Sale now preserves the actual employee or user responsible when creating or updating session records, rather than showing OdooBot. This improves traceability and makes troubleshooting audit information more useful without changing day-to-day workflows.
Original PR description
[IMP] point_of_sale: use sudo instead of with_user(SUPERUSER_ID). This avoids to loose user information when creating/updating records. Create_user = OdooBot is not helpful at all when debugging, ... -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38062
This fix prevents imports from failing when spreadsheet data contains an empty linked field, such as a missing country on a customer record. Users can now re-import exported Excel files with blank values without seeing an incorrect “False” lookup error.
Original PR description
[FIX] odoo: Import data with falsy many2one fields Steps to reproduce: - Export a partner with country set to False, using EXCELL - Try to import it with the xls file Bug: It raised: "No matching record found for name 'False' in field 'Country' at row 2" opw:2080376 Forward-Port-Of: odoo/odoo#38220
This fix prevents errors when certain optional field setup information is absent. It improves reliability in the base sparse field and mail areas by handling missing values safely instead of crashing.
Original PR description
[FIX] base_sparse_field,mail: handle None _instanciate_attrs override The parent was expected to return a dict, but it can also return None in some cases. When that happens, the overrides were crashing because it is impossible to assign a key/val to None. Note that using `if` conditions like this also prevents from writing on the dict if it is existing but empty, but due to the definition of the parent, if there is a dict, it will not be empty. Forward-Port-Of: odoo/odoo#38259 Forward-Port-Of: odoo/odoo#38168
Sales order lead times can now only be edited before the order is confirmed. This prevents unexpected changes to scheduled delivery dates after related warehouse operations already exist.
Original PR description
[FIX] sale: edit lead time Allow the edition of Lead Time only when the SO is not confirmed yet since the modification of the scheduled date on an existing picking is not expected. opw-2083070 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#38337
Installing a new website theme now handles related dependency upgrades in the same operation. This prevents installation errors caused by stale module information, making theme setup more reliable for users.
Original PR description
[FIX] website_theme_install: theme installation Group the upgrade of upstream dependencies with the installation of a new theme into a single install/upgrade operation. This fixes cache misses occurring when accessing the state of a module after having upgraded other modules. Co-authored-by: Sébastien Theys <seb@odoo.com> Forward-Port-Of: odoo/odoo#38209
This update fixes small wording and spacing issues in accounting and payment messages so they appear more consistently to users and translators. It helps prevent awkward or duplicated translated text, with no expected change to business workflows.
Original PR description
[FIX] account: add missing space Courtesy of primes2h on Transifex Forward-Port-Of: odoo/odoo#38154
This fixes a duplicated accounting configuration record in the system data. It helps prevent unnecessary duplication during setup or updates, reducing the chance of confusion or maintenance issues for accounting features.
Original PR description
[FIX] account: remove duplicated record definition Forward-Port-Of: odoo/odoo#38306
Company records now show the intended placeholder avatar when no logo is available. This prevents blank or poorly cropped images in contact views, improving clarity when users browse companies and addresses.
Original PR description
[FIX] base: correctly set partner placeholder avatar for companies closes #38001 Forward-Port-Of: odoo/odoo#38267
This update fixes issues in the Lunch app that could cause default setup data to be changed or recreated unexpectedly. It also ensures a lunch-related action opens with a clean setup, helping users avoid confusing or incorrect behavior.
Original PR description
13.0 - lunch fixes Forward-Port-Of: odoo/odoo#38260
Website editor dropdowns now keep Odoo's intended visual style even when custom themes are applied. This prevents theme styling from accidentally breaking dropdown menus, improving consistency and reliability for website users.
Original PR description
[FIX] website, *: force website UI dropdown style * web_editor The purpose is to force our dropdown style in our UI so that themes do not break it anymore (same way all the other elements are forced (cards, headings, etc)). task-2059538 Co-authored-by: qsm-odoo <qsm@odoo.com> Forward-Port-Of: odoo/odoo#38268
This update fixes an issue in the Mail app where email template previews could fail or show incorrect information when no record value was available. It helps keep email preview behavior consistent and avoids confusion for users preparing messages.
Original PR description
13.0 - [FIX] mail: force empty value on record Forward-Port-Of: odoo/odoo#38285
This fixes an error that occurred when printing a canceled invoice with no invoice lines. Users can now print these canceled invoices without the system crashing, improving reliability in edge-case accounting workflows.
Original PR description
[FIX] sale_stock: print canceled invoice Install both Sale Management and Invoicing. Create an invoice without any line, save it and cancel the entry. Print the canceled invoice, traceback. The python's `max` function requires an non-empty iterable to retrieve the maximum element. For line less invoices, the value must be None. closes #38175 Forward-Port-Of: odoo/odoo#38197
The stock product replenishment wizard now receives the needed product information when opened from the appropriate product views. The general action dropdown access is avoided so users are not offered replenishment for items where it does not make business sense, such as services or consumables.
Original PR description
[FIX] stock: product replenish wizard Description of the issue/feature this PR addresses: Fixes https://github.com/odoo/odoo/issues/38238 Current behavior before PR: `default_get` expects `default_product_id` or `default_product_tmpl_id` in the Context, while it was not passed in Action here. Desired behavior after PR is merged: This commits adds default_product_id Cc @sle-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38239
This fixes an error that occurred when printing an ISR payment slip from a Swiss customer invoice. Businesses using Swiss localization can now generate the payment slip reliably without the invoice process being interrupted.
Original PR description
[FIX] l10n_ch: print ISR On a customer invoice, click on 'Print ISR' => Error This is because of computed fields not set. opw-2081567 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#38282
Odoo now returns a clean “not found” response when requested binary content is missing or cannot be read, instead of triggering a server crash and noisy error logs. This makes file access failures less disruptive and easier for teams to manage.
Original PR description
[FIX] ir_http: return a 404 if binary content cannot be decoded Commit 5a9e1af64acc has the unfortunate side-effect of crashing early if for any reason the content cannot be decoded. However, simply ignoring that the content cannot be decoded is no better idea: some functions pipe the result to decoding functions that crash the same. The resulting traceback pollutes the log with uninformative message such as: binascii.Error: Incorrect padding 5 0.002 0.016 In case the content cannot be decoded (data corruption, or simply missing file) we return a clean 404 instead, which is morally almost equivalent, and is clean even from functions that depend on binary_content. opw 2072586 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#38261
This update fixes a compatibility issue in the IoT module where driver browsing relied on a deprecated method. It helps keep connected device integrations working reliably, including Ingenico payment terminal support.
Original PR description
[FIX] iot: fix depreciated "ad_paths" We fix the depreciated function "ad_paths" which was used to browse the drivers in the modules Forward-Port-Of: odoo/enterprise#5975
This update cleans up an unused or incorrectly named field in the employee appraisal area. It helps keep appraisal data structures clearer and reduces the chance of confusion for future maintenance, with no expected impact on day-to-day users.
Original PR description
[FIX] hr_appraisal: remove unused field Forward-Port-Of: odoo/enterprise#5971