Stop the propagation of the click event in buttons from list-form
Closes #14839 (grafted from 29667641dd0685424f2a4bd8a6cd16bf642a7fea) --HG-- branch : 8.0
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
},
|
||||
button_clicked: function(event) {
|
||||
if (Sao.common.compare(this.screen.selected_records, [this.record])) {
|
||||
event.stopPropagation();
|
||||
Sao.View.ListGroupViewForm._super.button_clicked.call(this, event);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user