From fb7bb95a113033d716c1f4620b5f16497dda99c4 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 11 Feb 2016 15:50:09 +0100 Subject: [PATCH] [FIX] web_calendar: operator prirority typo from e029724 --- addons/web_calendar/static/src/js/web_calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_calendar/static/src/js/web_calendar.js b/addons/web_calendar/static/src/js/web_calendar.js index 08f685e9677..69e038f507d 100644 --- a/addons/web_calendar/static/src/js/web_calendar.js +++ b/addons/web_calendar/static/src/js/web_calendar.js @@ -630,7 +630,7 @@ var CalendarView = View.extend({ r.className = 'o_calendar_color_'+ this.get_color(color_key); } } else { // if form all, get color -1 - r.className = 'o_calendar_color_'+ self.all_filters[-1] ? self.all_filters[-1].color : 1; + r.className = 'o_calendar_color_'+ (self.all_filters[-1] ? self.all_filters[-1].color : 1); } return r; },