[FIX] mail: open 'My Activities' from systray activity menu
Before this commit, when clicking on the activity view icon from an item in the systray activity menu, the activity view had no search filter by default. This commit now auto-select 'My Activities' in the activity view when redirected from the systray activity menu. closes odoo/odoo#30702
This commit is contained in:
@@ -118,7 +118,8 @@ var ActivityMenu = Widget.extend({
|
||||
name: targetAction.data('model_name'),
|
||||
views: [[false, 'activity'], [false, 'kanban'], [false, 'list']],
|
||||
view_mode: 'activity',
|
||||
res_model: targetAction.data('res_model')
|
||||
res_model: targetAction.data('res_model'),
|
||||
context: { search_default_activities_my: true },
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user