mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Update calendar_list_view.js
Add viewType attribute otherwise it can break the default calendar and doesn't select the correct view button.
This commit is contained in:
@@ -19,6 +19,7 @@ odoo.define("web_view_calendar_list.CalendarListView", function (require) {
|
|||||||
var CalendarListView = CalendarView.extend({
|
var CalendarListView = CalendarView.extend({
|
||||||
display_name: _lt("Calendar List"),
|
display_name: _lt("Calendar List"),
|
||||||
icon: "fa-calendar-check-o",
|
icon: "fa-calendar-check-o",
|
||||||
|
viewType: 'calendar_list',
|
||||||
config: _.extend(CalendarView.prototype.config, {
|
config: _.extend(CalendarView.prototype.config, {
|
||||||
Model: CalendarListModel,
|
Model: CalendarListModel,
|
||||||
Controller: CalendarListController,
|
Controller: CalendarListController,
|
||||||
|
|||||||
Reference in New Issue
Block a user