Add Binary widget for editable tree
This commit is contained in:
1 parent
d086df0d82
commit
a02024909c
1 file changed
+11
+11
@@ -3518,6 +3518,8 @@
|
||||
case 'one2many':
|
||||
case 'many2many':
|
||||
return Sao.View.EditableTree.One2Many;
|
||||
case 'binary':
|
||||
return Sao.View.EditableTree.Binary;
|
||||
default:
|
||||
return Sao.View.EditableTree.Char;
|
||||
}
|
||||
@@ -3645,4 +3647,13 @@
|
||||
}
|
||||
});
|
||||
|
||||
Sao.View.EditableTree.Binary = Sao.class_(Sao.View.Form.Binary, {
|
||||
class_: 'editabletree-binary',
|
||||
init: function(field_name, model, attributes) {
|
||||
Sao.View.EditableTree.Binary._super.init.call(this, field_name,
|
||||
model, attributes);
|
||||
Sao.View.EditableTree.editable_mixin(this);
|
||||
}
|
||||
});
|
||||
|
||||
}());
|
||||
Reference in new issue
Block a user