Hi everybody,
I have set rights only to create and delete vehicle assignation and Odometer log, but I have this error when I want to create a fleet vehicle odometer with a user that have rights just to see vehicles. Someone have an idea please?
"The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Odometer log for a vehicle, Operation: create) - (Records: [42], User: 14)"
Record Rules:
[('cost_id.vehicle_id.driver_id','=',user.partner_id.id)] - APPLY FOR READ
[('vehicle_id.driver_id','=',user.partner_id.id)] - APPLY FOR READ - WRITE - CREATE - DELETE
[('cost_id.vehicle_id.driver_id','=',user.partner_id.id)] - APPLY FOR READ
[('vehicle_id.driver_id','=',user.partner_id.id)] - APPLY FOR READ - WRITE - CREATE
[('driver_id','=',user.partner_id.id) - APPLY FOR WRITE
[('cost_id.vehicle_id.driver_id','=',user.partner_id.id)]
APPLY FOR READ