[IMP] maintenance: filter my_requests

We changed the field on which 'My requests' filter is applied from
'owner_user_id' to 'technician_user_id' because a normal employee who
has requests only see the ones he owns, and the responsible of
requests should be able to easily see the ones he's assigned to.
This commit is contained in:
Pierre Masereel
2017-04-27 17:38:15 +02:00
parent 12ca853392
commit bac3eeb9e5
@@ -23,7 +23,7 @@
<separator/>
<filter string="Unscheduled Maintenance" domain="[('schedule_date', '=', False)]" name="unscheduled"/>
<separator/>
<filter string="My Requests" name="my_requests" domain="[('owner_user_id', '=', uid)]"/>
<filter string="My Requests" name="my_requests" domain="[('technician_user_id', '=', uid)]"/>
<separator/>
<filter string="My Activities" name="activities_my"
domain="[('activity_ids.user_id', '=', uid)]"/>