Thursday, August 22, 2019
13 changes · master
Resolved issues and error corrections
The website visitor screens have been cleaned up by removing unnecessary options to create or edit visitor and page-view records. This helps prevent accidental manual changes and keeps the interface focused on viewing tracking information.
Original PR description
…age] This commit cleans up website.visitor related views by removing unnecessary create mode. It also removes the form view on the website.visitor.page model (="Visitor Page Views") as tree view contains all necessary information and there is no point in creating/editing them. Task#2057933 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
This update fixes several issues in restaurant point-of-sale test setup and execution, making automated checks more stable. It also corrects printer-related behavior in restaurant setups, reducing the risk of test failures and integration problems without changing day-to-day user workflows.
Original PR description
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
Opening the Website dashboard analytics menu no longer crashes when there is no chart data available. This makes the default empty dashboard experience stable for users and prevents a blocker when accessing analytics.
Original PR description
Website > Dashboard > Analytics By default, there is no data and no Chart, and without this revision, a crash is caused when opening the menu.
Relative time labels such as “2 minutes ago” are now formatted through the standard language-aware formatting system. This helps website visitor information display more consistently in the user’s selected language.
Original PR description
Babel is already taking the language into account while formating a time delta into a readable string like '2 minutes ago'. _format_time_ago was put in translate.py file to be able to use the _ translate class. But it can be placed in misc like other format function already using babel. This fixes the PR #34624 and is linked to Task ID : 2028059 Task ID: 2055847
This fixes a display issue where avatar images in many-to-many tag fields could use the wrong image field after a recent field rename. Users should now see the correct profile images in these tag widgets again.
Original PR description
The issue has occurred after rename image fields https://github.com/odoo/odoo/commit/58a2ffa26f1a3b0f9630ce16d11b758d18e20a21 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Meetings button on a CRM lead or opportunity now opens with a filter for meetings linked to that specific record. This makes the CRM experience more consistent and prevents users from initially seeing unrelated meetings, while still allowing them to remove the filter if needed.
Original PR description
Description of the issue/feature this PR addresses: Set a default search context for the lead/opportunity to show only scheduled meetings for this specific opportunity. This is to be consistent with similar functionality in partner screen (res_partner model). Current behavior before PR: Clicking a "Meetings" button shows meetings scheduled for all opportunities. Desired behavior after PR is merged: Clicking a "Meetings" button will show only a meetings for this specific opportunity (active object), with possibility to remove filter and show all meetings as it was before this PR -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Manufacturing app now shows a cleaner, properly structured byproduct form when opened from a Bill of Materials. This fixes display issues that could make byproduct details harder to review or edit, improving day-to-day usability for manufacturing users.
Original PR description
For some reasons (probably missing sheet & group), the form view for the byproduct wasn't displaying properly. This commit implement and force a cleaner view when you're coming from the form view of the Bill of Materials. TaskID: 2057347
The product screen stat button now shows the word "variants" again. This restores clearer wording for users when viewing product variant information, reducing confusion from an incomplete label.
Original PR description
The word "variants" was missing from the stat button. Task: 2046482 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
This fixes a minor issue in Product Lifecycle Management where checking previous bill of materials changes could fail in a default case introduced by the new ORM behavior. It helps keep engineering change order workflows reliable without changing user-facing functionality.
Original PR description
With the new ORM, we have to catch a default case when doing "for record in self" operations. TaskID: 2057445
Fixed an issue where reopening the IoT network scan window could make scan updates run twice, causing the progress bar to show incorrect values such as 200%. The scan window now cleans up properly when closed, so users see reliable progress each time they start a scan.
Original PR description
When opening the modal to scan the network, we added listeners to the window to receive events during the scanning process. These listeners were not removed when the modal was closed so reopening the modal used to create a second listener with the same function. All listeners were then executed twice, and the progress bar went up to 200%. We need to remove the listeners when the modal is closed. When calling removeEventListener, the reference of the function passed needs to be the same that was added in the first place. Since we use `.bind(this)`, we need to save this reference, otherwise it would change. TaskID: 2056922
This fixes an issue in the restaurant point of sale printer integration where shared behavior was being called incorrectly. It helps ensure Epson printer-related restaurant printing works more reliably without changing user workflows.
Original PR description
The model PosModel is extended, and super is calaled as if it was included, we have fixed it by calling the parent prototype correctly.
This update prevents errors caused by recent backend optimization changes by ensuring calculated information is always filled in. It helps keep features in marketing automation, SEPA direct debit payments, and website helpdesk forms working reliably.
Original PR description
- With the new ORM optimizations, the computed field do not have a default value, meaning we have to set a value for all the recordset passed in self.
Several folder-related fields in Documents now show the correct label. This reduces confusion for users when viewing or managing document folders.
Original PR description
This commit fixes the label of several folder_id fields. Task: #2056999