You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
390 B
10 lines
390 B
openerp.web_list_html_widget = function(instance){
|
|
instance.web.list.columns.map['field.html'] = 'instance.web.list.HtmlColumn';
|
|
|
|
instance.web.list.HtmlColumn = instance.web.list.Column.extend({
|
|
_format: function (row_data, options) {
|
|
return instance.web.format_value(
|
|
row_data[this.id].value, this, options.value_if_empty);
|
|
}
|
|
});
|
|
};
|