Use the selection from the update_selection call in Selection editable columns
Since 917de1b3e124 the selection is not stored on the selection_mixins we must thus use the one coming from the callback call Closes #15087 (grafted from e80a99079b44ce2d1c22865bd919fef6bfc8ce24) --HG-- branch : 8.0
This commit is contained in:
@@ -2890,10 +2890,10 @@
|
||||
var text_value = this.get_textual_value(record);
|
||||
cell.text(text_value).attr('title', text_value);
|
||||
} else {
|
||||
this.update_selection(record, () => {
|
||||
this.update_selection(record, (selection, help) => {
|
||||
var value = this.field.get(record);
|
||||
var prm, text, found = false;
|
||||
for (const option of this.selection) {
|
||||
for (const option of selection) {
|
||||
if (option[0] === value) {
|
||||
found = true;
|
||||
text = option[1];
|
||||
|
||||
Reference in New Issue
Block a user