I am trying to add a field in the document's kanban view. It displays the label only not the value.
Here is the code.
document_kanban_inspector_inherit.js
_renderFields: function () {
var options = {mode: 'edit'};
if (this.records.length === 1) {
this._renderField('name', options);
this._renderField('barcode', {
icon: 'fa fa-barcode',
mode: 'edit',
});
if (this.records[0].data.type === 'url') {
this._renderField('url', options);
}
this._renderField('partner_id', options);
}
if (this.records.length > 0) {
this._renderField('owner_id', options);
this._renderField('folder_id', {
icon: 'fa fa-folder o_documents_folder_color',
mode: 'edit',
});
}
},
How can i do this?
Did you get this work by any chance?