Skip to content
Snippets Groups Projects
Commit ad597d41 authored by FrancoisGe's avatar FrancoisGe
Browse files

[FIX] web: click on m2o_avatar in editable/multiEdit list


The goal of this commit is to fix the behaviour of clicking on a field
with the "many2one_avatar" widget in a list view.

Expected behaviour when clicking on a field with the "many2one_avatar" widget:
- Editable list view: switch row to edit
- Multi_edit list view with selected record: switch row to edit
- Other case: open the many2one_avatar record in a form view

Before this commit, clicking on a field with the "many2one_avatar" widget always
opens the record in a form view.

After this commit, the expected behaviour when clicking on a field with
the "many2one_avatar" widget is respected.

closes odoo/odoo#101737

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent f3e1dc52
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment