Files
odoo_source/addons/fleet/security/ir.model.access.csv
T
Yannick Tivisse 02775e6cd2 [IMP] fleet: Introduce fleet.vehicle.assignation.log model
Purpose
=======

Currently it's impossible to know who was driving a given car at a given time.

We have some piece of information like the immatriculation date of a vehicle
or the date of the first contract. But it's not enough.

This is problematic to solve a rather common issue:
- Who is gonna pay the fine for having exceeded the speed limit?

Specification
=============

Introduce a simple model fleet.vehicle.assignation.log, containing info about:
- The driver
- The vehicle
- The start Date
- The end Date

A simple button on the fleet vehicle should be sufficient to solve the issue.

We cannot generate data from the salary package as these dates can't be predicted
at the contract signature.
2018-04-27 17:30:30 +02:00

2.8 KiB

1idnamemodel_id/idgroup_id/idperm_readperm_writeperm_createperm_unlink
2fleet_vehicle_model_access_right_userfleet_vehicle_model_access_rightmodel_fleet_vehicle_modelfleet_group_user1000
3fleet_vehicle_tag_access_right_userfleet_vehicle_tag_access_rightmodel_fleet_vehicle_tagfleet_group_user1000
4fleet_vehicle_state_access_right_userfleet_vehicle_state_access_rightmodel_fleet_vehicle_statefleet_group_user1000
5fleet_vehicle_model_brand_access_right_userfleet_vehicle_model_brand_access_rightmodel_fleet_vehicle_model_brandfleet_group_user1000
6fleet_vehicle_log_services_access_right_userfleet_vehicle_log_services_access_rightmodel_fleet_vehicle_log_servicesfleet_group_user1000
7fleet_vehicle_log_contract_access_right_userfleet_vehicle_log_contract_access_rightmodel_fleet_vehicle_log_contractfleet_group_user1000
8fleet_service_type_access_right_userfleet_service_type_access_rightmodel_fleet_service_typefleet_group_user1000
9access_fleet_vehicle_cost_useraccess_fleet_vehicle_costmodel_fleet_vehicle_costfleet_group_user1110
10fleet_vehicle_model_access_rightfleet_vehicle_model_access_rightmodel_fleet_vehicle_modelfleet_group_manager1111
11fleet_vehicle_tag_access_rightfleet_vehicle_tag_access_rightmodel_fleet_vehicle_tagfleet_group_manager1111
12fleet_vehicle_state_access_rightfleet_vehicle_state_access_rightmodel_fleet_vehicle_statefleet_group_manager1111
13fleet_vehicle_odometer_access_rightfleet_vehicle_odometer_access_rightmodel_fleet_vehicle_odometerfleet_group_user1111
14fleet_vehicle_model_brand_access_rightfleet_vehicle_model_brand_access_rightmodel_fleet_vehicle_model_brandfleet_group_manager1111
15fleet_vehicle_access_rightfleet_vehicle_access_rightmodel_fleet_vehiclefleet_group_manager1111
16fleet_vehicle_log_fuel_access_rightfleet_vehicle_log_fuel_access_rightmodel_fleet_vehicle_log_fuelfleet_group_user1111
17fleet_vehicle_log_services_access_rightfleet_vehicle_log_services_access_rightmodel_fleet_vehicle_log_servicesfleet_group_manager1111
18fleet_vehicle_log_contract_access_rightfleet_vehicle_log_contract_access_rightmodel_fleet_vehicle_log_contractfleet_group_manager1111
19fleet_service_type_access_rightfleet_service_type_access_rightmodel_fleet_service_typefleet_group_manager1111
20access_fleet_vehicle_costaccess_fleet_vehicle_costmodel_fleet_vehicle_costfleet_group_manager1111
21access_mail_activity_type_fleet_managermail.activity.type.fleet.managermail.model_mail_activity_typefleet.fleet_group_manager1111
22access_fleet_vehicle_assignation_log_fleet_group_userfleet_vehicle_assignation_log fleet_group_userfleet.model_fleet_vehicle_assignation_logfleet.fleet_group_user1111