Skip to content

Commit

Permalink
[IMP] Add search filter for My Team Activities
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriaGForgeFlow authored and MiquelRForgeFlow committed Apr 12, 2019
1 parent 8cc7d3c commit 922ee65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mail_activity_team/views/mail_activity_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
<xpath expr='//field[@name="user_id"]' position='before'>
<field name="team_id"/>
</xpath>
<xpath expr='//filter[@name="activities_my"]' position='after'>
<filter name="my_team_activities" string="My Team Activities" domain="[('team_id.member_ids', '=', uid)]"/>
</xpath>
<group position='inside'>
<filter name='team' string="Team" context="{'group_by': 'team_id'}"/>
</group>
Expand Down

0 comments on commit 922ee65

Please sign in to comment.