Daily updates from Odoo
Wednesday, July 3, 2019
2 changes
Resolved issues and error corrections
Partner profile images that are taller than they are wide will no longer be squeezed into a square. This keeps contact photos looking accurate and more professional in partner records.
Original PR description
**Partner images with greater height than width gets stretched into a square.** Issue: When you choose an image of a partner whose height is greater than it's width, it gets stretched into a square. After this PR is merged, partner image will be prevented from being squeezed and stretched into a square. Task Link: https://www.odoo.com/web#id=1982082&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.8563a0edc34dfef5c2467d2d654c3bdc -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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