mirror of https://github.com/OCA/web.git
Update calendar_list_view.js
Add viewType attribute otherwise it can break the default calendar and doesn't select the correct view button.pull/2215/head
parent
0f783d4b23
commit
f43d3c6cdd
|
@ -19,6 +19,7 @@ odoo.define("web_view_calendar_list.CalendarListView", function (require) {
|
|||
var CalendarListView = CalendarView.extend({
|
||||
display_name: _lt("Calendar List"),
|
||||
icon: "fa-calendar-check-o",
|
||||
viewType: 'calendar_list',
|
||||
config: _.extend(CalendarView.prototype.config, {
|
||||
Model: CalendarListModel,
|
||||
Controller: CalendarListController,
|
||||
|
|
Loading…
Reference in New Issue