Prevent switching row when double click on Many2One link
Closes #14967 (grafted from e8c236df31219bfe19c1e73e4254863fa3ef2d46) --HG-- branch : 8.0
This commit is contained in:
@@ -2838,6 +2838,11 @@
|
||||
params.context = this.field.get_context(record);
|
||||
Sao.Tab.create(params);
|
||||
});
|
||||
cell.dblclick((evt) => {
|
||||
// prevent calling switch_row on td
|
||||
evt.preventDefault();
|
||||
evt.stopImmediatePropagation();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user