[IMP] project: append "Tasks by Deadline" to tasks calendar view title
To make it more clear that the calendar view of the project tasks only shows the deadline of the tasks, this commits appends " - Tasks by Deadline" to the title of the view Task-2741733 Part-of: odoo/odoo#86008
This commit is contained in:
@@ -37,6 +37,14 @@ export const ProjectCalendarView = CalendarView.extend({
|
||||
ControlPanel: ProjectControlPanel,
|
||||
Model: ProjectCalendarModel,
|
||||
}),
|
||||
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
init: function (viewInfo, params) {
|
||||
this._super.apply(this, arguments);
|
||||
this.controllerParams.displayName += " - Tasks by Deadline";
|
||||
}
|
||||
});
|
||||
|
||||
viewRegistry.add('project_calendar', ProjectCalendarView);
|
||||
|
||||
Reference in New Issue
Block a user