Commit Graph
12 Commits
Author SHA1 Message Date
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
Thibault Delavallée 77c7b68a9b [IMP] fleet: improve activity management on fleet contract model
This commit improves fleet contracts management through a better integration
of activities and addition of automated activities. Several things are done
in this commit :

 * fleet vehicle log contract does not inherit from mail.activity.mixin.
   This commit adds the inherit so that fleet users and managers can now
   schedule and manage activities on vehicle contracts. This will help them
   in their daily job;
 * automatic activities generation is added when contracts are nearly expired
   and renewal is required;
 * a menu to configure activity types is added. Indeed fleet managers should
   be able to see and configure activity types related to their job;
 * filters are added to be able to use the systray and to filter the kanban
   view based on activities

Having automated activities allow to replace some messages posted on the
contract. Indeed currently there are messages posted on vehicles about
contracts to renew. As we now have automated activities on contracts to
remind assigned people to renew it the log can be safely removed. It will
lessen noise generated on chatter.
2018-03-27 16:31:01 +02:00
Ravi Gadhia a999969f81 [REM] fleet: Remove unused code 2016-05-27 10:39:22 +02:00
Ravi Gadhia e513af0bb0 [IMP] fleet: migrate to new api (fleet.py). my eye is paining 2016-05-27 10:39:22 +02:00
Cedric Snauwaert a56f37e6f4 [ADD]access rules and groups
bzr revid: csn@openerp.com-20121204162056-cacua9dw1shg5fnv
2012-12-04 17:20:56 +01:00
Vo Minh Thu 724f452f1e [IMP] fleet/porta/account_budget: removed some initialization warnings.
bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3
2012-11-15 17:06:43 +01:00
Cedric Snauwaert 1697d619c3 [ADD]change in contract view and model
bzr revid: csn@openerp.com-20121004102033-mr108oy63dnmxlik
2012-10-04 12:20:33 +02:00
Cedric Snauwaert 6f97f45ee8 [FIX]replace string type by char in object
bzr revid: csn@openerp.com-20121003150419-9t3jmprmjh5b6lux
2012-10-03 17:04:19 +02:00
Cedric Snauwaert 7a8b30aeba [DEL]removed unused object contract state
bzr revid: csn@openerp.com-20121003133811-u31kfolwiv0xer3s
2012-10-03 15:38:11 +02:00
Cedric Snauwaert 8d52f11708 [FIX]fix access rule and removed warning
bzr revid: csn@openerp.com-20121003080250-wg6faq7p9o3x23rk
2012-10-03 10:02:50 +02:00
Denis Ledoux dle@openerp.com b3a470b0bb [IMP]Deleting generic logs and inherits from odometer part 4. Removing Access Rights
bzr revid: dle@openerp.com-20120926151849-5mjlb5qyxj6j8d5x
2012-09-26 17:18:49 +02:00
Cedric Snauwaert 7df4da3c4a [ADD]security access rules for each object
bzr revid: csn@openerp.com-20120925120942-rdaiucpwmt4jl8v3
2012-09-25 14:09:42 +02:00