Daily updates from Odoo
Friday, October 11, 2019
18 changes
Resolved issues and error corrections
Archived blog feeds now return a proper not found page instead of causing a server error. This avoids a poor visitor experience and makes the website behave more reliably when blog content is no longer active.
Original PR description
[FIX] website_blog: add missing website=True in feed Before this commit, if you archive a blog, you will have a 500 instead of 404. Serve page to show the 404 use request.website, so we need to force controller with website=True to bind website on the request. Probably need to check all controllers in website_* module. opw-2066725 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#38493 Forward-Port-Of: odoo/odoo#38415
The login page text for OAuth providers, such as "Log in with Google," can now be translated into other languages. This improves the experience for users accessing Odoo in non-English languages by showing clearer, localized login options.
Original PR description
[FIX] auth_oauth: enable translation of link text for oauth providers Description of the issue/feature this PR addresses: The OAuth login link texts are not translatable (e.g. `Log in with Google`) Current behavior before PR: One cannot translate the text `Log in with Google` into german. Desired behavior after PR is merged: The texts in the login screen /web/login can be translated Info @wt-io-it -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38426 Forward-Port-Of: odoo/odoo#38346
This update prevents the portal sharing flow from failing when expected context information is missing. It helps users avoid an unexpected error in edge cases while keeping normal sharing behavior unchanged.
Original PR description
[FIX] portal: avoid crashing if active_model or active_id not in context Forward-Port-Of: odoo/odoo#38458
This change removes an accounting field that was not properly calculated and did not appear to serve a useful purpose. This helps avoid potential errors or confusion in accounting setup without changing normal user workflows.
Original PR description
[FIX] account: remove uncomputed field The field `number_entries` should have a `_compute_number_entries` method defined on the model Since the field does not seem to make a lot of sense in here so remove the field Forward-Port-Of: odoo/odoo#38455
Date fields now respect each user language's configured first day of the week. This makes scheduling and date selection more consistent for users in regions where the week does not start on the default day.
Original PR description
[FIX] web: use language week_start in datepickers Before this rev., if the week_start param (the first day of week) of the user language was changed, it wasn't reflected on datepickers (however, it worked fine in the calendar view). This rev. makes this work by updating the moment locale with the corresponding param. Fixes #36450 Closes #36532 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38398 Forward-Port-Of: odoo/odoo#36531
The Windows installer display text was updated so it no longer shows the old 12.0 version. This prevents confusion for customers and partners installing the latest Odoo release on Windows.
Original PR description
[FIX] packaging: adapt Odoo version in windows installer Packaging oversight, the displayed version in the installer window was still 12.0. Forward-Port-Of: odoo/odoo#38451
This update renames an accounting report field label to make invoices easier to understand for users. It improves usability and translation consistency without changing accounting behavior or business workflows.
Original PR description
[FIX] account, usability: field label renaming 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#38430
Restores the “View accounts detail” button in the accounting partner view so users can access account details as expected. This fixes a missing interface action and helps accounting users navigate customer or vendor account information without disruption.
Original PR description
[FIX] account: restore "View accounts detail" button -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38413
Mailing popups now appear centered and with the correct styling when edited in the backend. This prevents the popup from being hidden under editing controls, making campaign setup easier and less confusing.
Original PR description
[FIX] website_mass_mailing, *: fix display of backend popup edition * web_editor, website In the backend, when a mailing popup was being edited, it was not centered in the edition area (and went under the editor UI) and was not using the correct style. task-2083465 Forward-Port-Of: odoo/odoo#38421
This fixes an accounting issue that prevented users from deleting payment terms after an internal field name changed. Businesses can now manage and clean up payment terms without being blocked by an incorrect reference.
Original PR description
[FIX] account: Use correct field in domain Description of the issue/feature this PR addresses: Fixes https://github.com/odoo/odoo/issues/38308 Current behavior before PR: payment_term_id has been replaced by invoice_payment_term_id Desired behavior after PR is merged: Able to delete Payment terms -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38309
Duplicating an eLearning course or slide channel will no longer carry over its existing members. This prevents accidental enrollment of people into copied courses and keeps membership lists accurate.
Original PR description
[FIX] website_slides: Do not copy Members on duplicate Description of the issue/feature this PR addresses: Fixes https://github.com/odoo/odoo/issues/38230 Current behavior before PR: On Duplicate, Members are also copied Desired behavior after PR is merged: Members should not be copied for obvious reason. Cc @tde-banana-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38368 Forward-Port-Of: odoo/odoo#38235
This update corrects how Chilean accounting document types are selected, helping ensure the right document options appear during invoicing or accounting workflows. It reduces the risk of choosing incorrect document types for Chilean localization processes.
Original PR description
[FIX] l10n_cl: fixed wrong domain getting document types 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#37846
The online shop now hides the recently viewed products area when there are no items to show. It also removes the final viewed product properly after it is added to the cart, avoiding stale or misleading product displays.
Original PR description
[FIX] website_sale: fix viewed product add cart If there is no product in the recently viewed product snippet it will be hidden with a smooth transition. Fix the last product that remained in snippet even if added to cart. task-2076271 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#37371
Duplicating a recruitment record no longer carries over the linked employee. This avoids accidental connections between a copied recruitment entry and the wrong employee, keeping HR recruitment data cleaner.
Original PR description
[FIX] hr_recruitment: Do not copy employee on duplicate Description of the issue/feature this PR addresses: When recruitment is duplicated, `emp_id` should not be copied for obvious reason. Current behavior before PR: Desired behavior after PR is merged: Cc @RomainLibert @tivisse -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38136
This fix makes Factur-X invoice processing handle PDF attachments more reliably, including files with uppercase PDF extensions and attachments that may not include all optional fields. It reduces avoidable errors and log warnings when processing supplier invoices or emailed documents.
Original PR description
Forward Port of #37719 to 13.0 [FIX] account_facturx: handle attachment both as records and as named tuples The attachment of a mail can be either a named tuple or an Odoo record. In the second case, it has more attributes such as a mimetype. In the first case, the mimetype should be guessed from the content. We clean up to use the helper functions in all cases. opw 2075933 Forward-Port-Of: #37719 Forward-Port-Of: odoo/odoo#38164
The IoT Box overview now opens a device list filtered to the selected box, so users no longer see unrelated devices. The device list is also easier to review because devices are grouped by type, and empty manufacturer information is hidden.
Original PR description
The kanban view of IoT Boxes has an icon to redirect to the list of devices connected to this box. The filter didn't work and we were seeing all devices.
Odoo Studio no longer offers the priority shortcut when a priority field is already present on a Kanban card. This prevents users from accidentally adding the same priority field twice, avoiding layout or configuration issues.
Original PR description
[web_studio] fix issue of priority hook Pad: https://pad.odoo.com/p/r.976c1d22bd62746183a2ec807a6b1c47 Task: https://www.odoo.com/web#id=2071654&action=327&model=project.task&view_type=form&menu_id=4720 Forward-Port-Of: odoo/enterprise#5931
The Helpdesk dashboard now handles SLA deadline times correctly for users working in languages such as French. This prevents dashboard errors or incorrect SLA status checks caused by localized date formatting differences.
Original PR description
[FIX] helpdesk: Wrong datetime format in retrieve_dashboard The datetime returned by read_group is formated with babel. Let's consider a ticket with SLA deadline equal to 14/10/2019 13:00 assigned to a user in French. So when making a read_group in an other language than en_US, the group made with 'sla_deadline:hour' was like 13:00 14 oct. (with babel) instead of 13:00 14 oct (the format expected by datetime with '%I:%M %d %b' in function _is_sla_failed). opw:2082495 Forward-Port-Of: odoo/enterprise#6033