Call parent event handlers when clicking an unselected button
Event handler must return true to ensure other event handlers are called. issue6522 review40381002
This commit is contained in:
1 parent
7ffa4f7b40
commit
2e60aef7b0
1 file changed
+2
-1
+2
-1
@@ -1689,7 +1689,8 @@
|
||||
var record = event.data[0];
|
||||
var button = event.data[1];
|
||||
if (record != this.screen.current_record) {
|
||||
return;
|
||||
// Need to raise the event to get the record selected
|
||||
return true;
|
||||
}
|
||||
var states = record.expr_eval(this.attributes.states || {});
|
||||
if (states.invisible || states.readonly) {
|
||||
|
||||
Reference in new issue
Block a user