Browse Source

Add search filter for my team activities

pull/350/head
Adrià Gil Sorribes 6 years ago
committed by Holger Brunn
parent
commit
c6117782a9
  1. 3
      mail_activity_team/views/mail_activity_views.xml

3
mail_activity_team/views/mail_activity_views.xml

@ -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>

Loading…
Cancel
Save