Technical mailing list archives

Re: Is fields.Html() supposed to work in tree views?

Maxim Litnitskiy
- 09/21/2014 06:30:51
There is no html type in view_list.js (It is there in view_form.js).
So the only thing that needs to be added is the following:

openerp.custom_contacts = function(instance) {    
    instance.web.list.columns.add('field.html', 'instance.web.list.Html');
    instance.web.list.Html= instance.web.list.Column.extend({
        _format: function (row_data, options) {
            return row_data[].value;


Or better add this functionality to view_list.js.
Just in case create an issue on github -