Skip to content
Snippets Groups Projects
Commit f4d97f63 authored by asa-odoo's avatar asa-odoo Committed by Adrien Dieudonne
Browse files

[FIX] partner_autocomplete: avatar widget not clickable on mobile


Previously, in company form view, avatar was not clickable due to a
`block` div that was overlapping the avatar widget and preventing
clicking on it.

This commit fixes the issue by preventing the overlap and thus making
the image widget on company form clickable.

Note that another fix would be to remove `partner_gid` from the company
form view (it's already the case in 14.0).
In this case "oe_title" is directly followed by .o_form_view .oe_avatar
and a padding-right: 100px is applied:
.o_form_view .oe_avatar + .oe_title {
    padding-right: 100px;
}
However, considering stable version, changing fields position
should be avoided.

Task Id: 2231950

closes odoo/odoo#62631

Pr: #53798
X-original-commit: 6e684776
Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
Co-authored-by: default avatarD J <dja@odoo.com>
parent c0964b3f
Branches
Tags
No related merge requests found
.o_field_partner_autocomplete.dropdown {
display: block;
> .o_partner_autocomplete_dropdown .dropdown-item {
min-width: 300px;
padding: 4px 8px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment