Count optional column as visible if the tree is not traggable
This commit is contained in:
1 parent
960c220329
commit
c03923f88b
1 file changed
+3
@@ -794,6 +794,9 @@
|
||||
|
||||
// Set column visibility depending on attributes and domain
|
||||
var visible_columns = 1; // start at 1 because of the checkbox
|
||||
if (this.optionals.length && !this.draggable) {
|
||||
visible_columns += 1;
|
||||
}
|
||||
var domain = [];
|
||||
if (!jQuery.isEmptyObject(this.screen.domain)) {
|
||||
domain.push(this.screen.domain);
|
||||
|
||||
Reference in new issue
Block a user