Daily updates from Odoo
Wednesday, July 3, 2019
1 change · master
Resolved issues and error corrections
This fix ensures that saved list and kanban views respect their configured default order, even when a favorite filter is used. It also prevents the order from unexpectedly changing when users open a record and return via breadcrumbs, making navigation more predictable.
Original PR description
In a list/kanban view when applying a default_order on the view, Before this commit, 1) The default_order was not applied to the view 2) when default_order applied, Click on an element of the…
In a list/kanban view when applying a default_order on the view,
Before this commit,
1) The default_order was not applied to the view
2) when default_order applied, Click on an element of the list/kanban and
then go back to the list/kanban with the breadcrumbs. So, default_order
has been changed.
This is because the wrong value was passed because of an insufficient check
to determine the orderedBy for the loadparams.
After this commit,
1) default_order will be applied to the view
2) default_order will not be changed when going back through breadcrumbs
Description of the issue/feature this PR addresses:
1) The default_order was not applied to the view
2) when default_order applied, Click on an element of the list/kanban and
then go back to the list/kanban with the breadcrumbs. So, default_order
has been changed.
Current behavior before PR:
1) The default_order was not applied to the view
2) when default_order applied, Click on an element of the list/kanban and
then go back to the list/kanban with the breadcrumbs. So, default_order
has been changed.
Desired behavior after PR is merged:
1) default_order will be applied to the view
2) default_order will not be changed when going back through breadcrumbs
Issue:
https://www.odoo.com/web#id=1922576&action=327&model=project.task&view_type=form&menu_id=4720
Pad:
https://pad.odoo.com/p/r.4cbd1001c8d7b423f182da52fe8da959
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr