Set srceen readonly for Search window
issue6752 review43471002
This commit is contained in:
1 parent
e998a0ad7d
commit
3f09fb349a
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -60,7 +60,8 @@
|
||||
});
|
||||
this.expanded = {};
|
||||
this.children_field = children_field;
|
||||
this.editable = Boolean(this.attributes.editable);
|
||||
this.editable = (Boolean(this.attributes.editable) &&
|
||||
!screen.attributes.readonly);
|
||||
|
||||
// Columns
|
||||
this.columns = [];
|
||||
|
||||
+2
-1
@@ -514,7 +514,8 @@
|
||||
domain: this.domain,
|
||||
view_ids: kwargs.view_ids,
|
||||
views_preload: views_preload,
|
||||
row_activate: this.activate.bind(this)
|
||||
row_activate: this.activate.bind(this),
|
||||
readonly: true,
|
||||
});
|
||||
this.screen.load_next_view().done(function() {
|
||||
this.screen.switch_view().done(function() {
|
||||
|
||||
Reference in new issue
Block a user