From 82df1dfccc6b4e3031b1434c7ec1bec2bf7aeb2d Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Fri, 7 Jun 2019 09:37:49 +0000 Subject: [IMP] fleet: model cleanup, dashboard Purpose ======= It is currently difficult to know exactly what is used for costs and services on the contracts. Hence it make it difficult to evolve the fleet application We should clean the models in order to have something that is clearer Specification ============= Cleanup of models: removed Fuel and Cost. Contract and Services are no longer inheriting Cost and are seperate models simplifying the use of Fleet. A contract now has included services and they are no longer generating cost. closes odoo/odoo#34090 Taskid: 1931775 Related: odoo/enterprise#4572 Signed-off-by: Yannick Tivisse (yti) --- addons/fleet/security/fleet_security.xml | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'addons/fleet/security/fleet_security.xml') diff --git a/addons/fleet/security/fleet_security.xml b/addons/fleet/security/fleet_security.xml index aab267a175c..4e8b55c45e0 100644 --- a/addons/fleet/security/fleet_security.xml +++ b/addons/fleet/security/fleet_security.xml @@ -30,16 +30,6 @@ [('cost_id.vehicle_id.driver_id','=',user.partner_id.id)] - - User can only see his/her costs - - - - - - - [('vehicle_id.driver_id','=',user.partner_id.id)] - User can only see his/her vehicle's services @@ -60,16 +50,6 @@ [('vehicle_id.driver_id','=',user.partner_id.id)] - - User can only see his/her vehicle's fuel log - - - - - - - [('cost_id.vehicle_id.driver_id','=',user.partner_id.id)] - User can only see his/her vehicle @@ -85,11 +65,6 @@ - - Administrator has all rights on vehicle's costs - - - Administrator has all rights on vehicle's services @@ -100,11 +75,6 @@ - - Administrator has all rights on vehicle's fuel log - - - Administrator has all rights on vehicle -- cgit v1.2.3