Tuesday, April 2, 2019
4 changes
Enhancements to existing features
List views are now easier and faster to use, especially when records are grouped. Users can edit grouped lists, update several selected rows at once, expand groups by default, page through large grouped results, and navigate read-only lists with the keyboard.
Original PR description
This branch brings several improvements related to the list view: - grouped list views are now editable - 'expand' attribute can be used to open by default the first level groups - if there are a lot of groups, a pager is displayed (instead of having all groups in the same page) - when grouped on a many2one field, custom buttons (on the many2one comodel) can be inserted in each group's header - we can edit several records in a row in editable list views - editable lists do not flicker anymore when switching a row to edit mode - we can navigate through the cells in list views with the arrows (in readonly) Co-authored-by: Aaron Bohy aab@odoo.com Co-authored-by: David Monjoie dmo@odoo.com Co-authored-by: Martin Geubelle mge@odoo.com Co-authored-by: Ravi Gadhia rga@odoo.com Task 1915702
Customers can now see delivery prices shortly after the checkout page loads, without clicking each carrier one by one. This keeps the checkout page fast while making it easier to compare shipping options and choose the best one.
Original PR description
Before this commit: User landing on checkout payment step had to select a carrier. These carriers only showed 'Select to compute price'. This was done to prevent the page to take seconds to load, since it would compute all the carrier price by querying these carrier API then display the page. The users would still click on every carrier anyway to check all the prices and select the cheapest one. Now: Once the page is loaded, we will asynchronously retrieve every carrier prices. That way, the page rendering page will not be affected and the user will be able to see the price of every carrier after a few seconds without having to do anything. task-1867265 Duplicate PR of #31857
Reporting charts have been modernized to make graph views clearer, especially when comparing different time periods. Dashboards and survey results now use a newer charting engine, improving tooltip and legend quality while replacing an older, less maintained chart library.
Original PR description
The present work is part of an ongoing plan aiming to refactor/improve the reporting views (in particular the graph view). The most notable changes are - better support of comparison mode (comparison of different time periods) - better tooltips and legend (content/style) It has also been decided to use Chart.js instead of nvd3 to draw charts. The main reasons are that Chart.js is better maintained/designed and offers many interesting features. Thus we have rewritten all the code depending on nvd3, adapt it to the new library, and remove completely the nvd3 library and the references to it. Task Ids: 1911201, 1946138
Customers no longer need to click each delivery option to see shipping costs during checkout. Prices load in the background after the page appears, keeping checkout responsive while helping shoppers compare options more easily.
Original PR description
Before this commit: User landing on checkout payment step had to select a carrier. These carriers only showed 'Select to compute price'. This was done to prevent the page to take seconds to load, since it would compute all the carrier price by querying these carrier API then display the page. The users would still click on every carrier anyway to check all the prices and select the cheapest one. Now: Once the page is loaded, we will asynchronously retrieve every carrier prices. That way, the page rendering page will not be affected and the user will be able to see the price of every carrier after a few seconds without having to do anything. task-1867265