.ui-widget.ui-autocomplete {
    .ui-menu-item {
        &.partner_autocomplete_dropdown_char {
            > a {
                > img {
                    float: left;
                    width: 32px;
                    height: 32px;
                }
                > .o_partner_autocomplete_info {
                    margin-left: 50px;
                    > * {
                        @include o-text-overflow(block);
                    }
                }
            }
        }
        &.partner_autocomplete_dropdown_many2one {
            > a {
                > img {
                    float: right;
                    width: 20px;
                    height: 20px;
                    right: 20px;
                }
            }
        }
    }
}

// Same rule as .oe_title .o_field_char
.o_form_view .o_form_editable .oe_title .o_field_field_partner_autocomplete {
    width: 100%;
}
