Monday, August 22, 2016
4 changes
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.
Resolved issues and error corrections
Sales teams can now select event tickets with unlimited availability when creating sales order lines. This prevents valid tickets from being hidden and helps ensure customers can be sold all available event options.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=26869&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/openerp-project.task-E14TYZOQE2 Current behavior before PR: A ticket whose seats_availability is unlimited, is not shown on sale order line. Desired behavior after PR is merged: A ticket whose seats_availability is unlimited, it should be shown on sale order line. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
State and region codes were made consistent by removing repeated country prefixes where the country is already linked separately. This reduces confusion and helps keep location data cleaner across the system.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Inconsistent use of code field concerning ISO 3166-2 subdivision notation Desired behavior after PR is merged: Consistent use of code field (removing country prefix as it is linked anyway) https://github.com/odoo/odoo/pull/13069#issuecomment-238498067 @mart-e Thank you for merging. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr