From c6d6027f64845832c050a31f30565443a769ec70 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 14 Nov 2011 10:27:21 +0100 Subject: [PATCH] [FIX] cell borders in padding rows of list views bzr revid: xmo@openerp.com-20111114092721-n9gqprm31hhcfr5w --- addons/web/static/src/js/view_list.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index d687faa..77f04d4 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -876,15 +876,20 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis } var cells = []; if (this.options.selectable) { - cells.push(''); + cells.push(''); } _(this.columns).each(function(column) { - if (column.invisible !== '1') { + if (column.invisible === '1') { + return; + } + if (column.tag === 'button') { + cells.push(' '); + } else { cells.push(' '); } }); if (this.options.deletable) { - cells.push(''); + cells.push(''); } cells.unshift(''); cells.push(''); -- 1.7.10.4