Skip to content
Snippets Groups Projects
Commit 995f55d3 authored by Adrien Widart's avatar Adrien Widart
Browse files

[REV] mail: get current company activities

This reverts commit c071f0255fba3b8340182607fe4ef70321691341
(See PR https://github.com/odoo/odoo/pull/64201)

Reason: the fix is incorrect, it creates another issue:
https://github.com/odoo/odoo/issues/64548



closes odoo/odoo#64597

Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent 761319a3
No related branches found
No related tags found
No related merge requests found
......@@ -131,13 +131,7 @@ var ActivityMenu = Widget.extend({
res_model: data.res_model,
views: [[false, 'kanban'], [false, 'form']],
search_view_id: [false],
domain: [
['activity_user_id', '=', session.uid],
// filter activities on current company
'|',
['company_id', '=', false],
['company_id', 'child_of', [session.company_id]]
],
domain: [['activity_user_id', '=', session.uid]],
context:context,
}, {
clear_breadcrumbs: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment