From 584c60f1ba7627230f0db445d167332344f83bfb Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Tue, 13 Jun 2017 09:50:00 +0200 Subject: [PATCH] [FIX] web: display buttons without icon in list view Previously, the button was completely invisible when no icon was given, which is a regression from saas-15 where the string attribute is used to write the button label. --- .../static/src/js/views/list/list_renderer.js | 8 ++++++-- addons/web/static/tests/views/list_tests.js | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/js/views/list/list_renderer.js b/addons/web/static/src/js/views/list/list_renderer.js index f713ec6e66e..a917781b580 100644 --- a/addons/web/static/src/js/views/list/list_renderer.js +++ b/addons/web/static/src/js/views/list/list_renderer.js @@ -271,10 +271,14 @@ var ListRenderer = BasicRenderer.extend({ _renderButton: function (record, node) { var $button = $('