[FIX]*: clear breadcrumb when redirecting to activities from systray
* mail,calendar,note Before this commit: When accessing activities from the systray, any existing breadcrumb-item should be clearer. After this commit: Clear breadcrumb-item when access activities from the systray. Task-2342246 closes odoo/odoo#59396 X-original-commit: 6dd181c789d22f99073fcd0a9b0fa2edccdfe0fc Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -44,7 +44,8 @@ ActivityMenu.include({
|
||||
additional_context: {
|
||||
default_mode: 'day',
|
||||
search_default_mymeetings: 1,
|
||||
}
|
||||
},
|
||||
clear_breadcrumbs: true,
|
||||
});
|
||||
} else {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
@@ -172,6 +172,8 @@ var ActivityMenu = Widget.extend({
|
||||
search_view_id: [false],
|
||||
domain: domain,
|
||||
context:context,
|
||||
}, {
|
||||
clear_breadcrumbs: true,
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
||||
@@ -75,6 +75,8 @@ ActivityMenu.include({
|
||||
name: data.model_name,
|
||||
res_model: data.res_model,
|
||||
views: [[false, 'kanban'], [false, 'form'], [false, 'list']]
|
||||
}, {
|
||||
clear_breadcrumbs: true,
|
||||
});
|
||||
} else {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
Reference in New Issue
Block a user