Monday, August 22, 2016
2 changes · master
Enhancements to existing features
This update removes code paths that could never run and adds an automated check to catch similar issues in the future. It helps keep the system easier to maintain with no expected change for everyday users.
Original PR description
This commits adds the check W0101 to test_pylint and fixes the errors. The index in sequence.py was added in rev 1381ac139ed33e858ae6af34f61d04becbcc06bf and cancelled a day later in 83fdc271e6c0606dd91d266680a81b9596da27fa so i guess it is safe to remove it.
The accounting dashboard graphs now use a clearer scale, starting from zero and adjusting to the highest value in the visible period. This makes bank and journal balances easier to interpret and avoids the misleading impression that values are near zero.
Original PR description
Description of the issue/feature this PR addresses: - Improve proportions of graph in the accounting dashboard <strong>Task: </strong> https://www.odoo.com/web#id=23461&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 <strong>Pad: </strong>https://pad.odoo.com/p/r.d38f87801e3811e672cdd2f33d3dcc97 Current behavior before PR: - Graph does not proper display. Desired behavior after PR is merged: - Graph is properly Display. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr -Appending .forceY([0]) to the instantiation of the chart forces the axis to take on the range specified in the array.