[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:
@@ -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)]"/>
|
||||
|
||||
Reference in New Issue
Block a user