Daily updates from Odoo
Thursday, August 16, 2018
7 changes · master
Resolved issues and error corrections
This fixes an issue where journal dashboard graphs could fail to render because they were drawn before being added to the page. The graph now renders only once it is attached, making dashboard visuals more dependable for users.
Original PR description
The lib 'nvd3' renders graph when they are attached in the
DOM. However, widgets are rendered in fragments and
appended to the DOM when ready (to prevent flickering).
Before this commit, we used a `setTimeout(0)` and cross
fingers that the widget was attached to the DOM when the
`render` method was called.
With this commit, the render method is called when it is
attached to the DOM.
Task-ID 1868252Odoo can now install the Account app even when an optional testing dependency is not installed. Tests that require browser automation are skipped with a warning instead of causing an installation error, reducing setup issues for environments that do not run those tests.
Original PR description
The account module needs to import Form from "tests.common" causing a traceback when websocket-client module is not installed. As this module is only required for the tests, there is no reason to add it to the "requirements.txt" file. With this commit, Odoo account can be installed even when websocket-client is not installed, in that case, the HttpCase tests that needs to run Chrome headless will be skipped with a warning. 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
The accounting dashboard now shows sales and purchase journal history graphs correctly. This helps finance users read dashboard trends more reliably without confusing visual display issues.
Original PR description
Description of the issue/feature this PR addresses: Task link https://www.odoo.com/web#id=1868252&action=327&model=project.task&view_type=form&menu_id=4720 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
Bank statement errors now include the relevant reconciled entry name or number. This helps users identify and correct the problematic statement line faster, especially when reviewing longer statements.
Original PR description
Before this commit, a cryptic error message did not actually lead to resolution. By giving the reconciled name/number, the users get's a chance to identify the offending entry and correct it. This way this error message becomse a little more actionable. **Description of the issue/feature this PR addresses:** - Non actionable error message on bankk statments **Current behavior before PR:** - The error message was so unspecific, that it was impossible to identify the offending line - At least, if a statement had more than a handful lines **Desired behavior after PR is merged:** - The error message is (somewhat) actionable **Note:** Please do not close, even if not immediately accepted (`wishlist` tag). This PR is meant to be carried along and actively maintained, until this semantic will be completed this way or another. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @xoe-labs
Project tasks created from sales orders no longer show the graph icon twice. This keeps the task screen cleaner and avoids confusion for users navigating project reporting options.
Original PR description
Current behavior before PR: Graph icon is shown twice on project task coming from sale Desired behavior after PR is merged: Graph icon is shown only once on project task coming from sale -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Completed manufacturing orders now display their stock movement lines in a muted style instead of incorrectly showing them as red. This avoids visual confusion for users reviewing finished production orders and makes the status clearer.
Original PR description
Issue-Link: https://www.odoo.com/web#id=1862299&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad-Link: https://pad.odoo.com/p/r.078f3d8fb2efa8356d503e9bfd7b8ebc Before this commit: Red movelines can be seen instead of text-muted movelines after MO done. After this commit: text-muted class has been applied to movelines after MO done. Issue-ID: 1862299 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adjusts the website dashboard layout to avoid display issues caused by unnecessary row structure. It helps make dashboard information appear more consistently for users managing website and online sales activity.
Original PR description
Layout issue in website dashboard:- https://drive.google.com/file/d/1hGzCwYQjShlRcF-vrRz0h6GqoS_m2W3_/view 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