summaryrefslogtreecommitdiff
path: root/addons/fleet/__init__.py
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-03-19 13:15:42 +0000
committerYannick Tivisse <yti@odoo.com>2019-04-18 11:55:25 +0000
commit3c32f9b90309158554b91ea112d798c87c73d201 (patch)
treec98ddadd10716dfa7fb25974ff1a91b7cd219a8e /addons/fleet/__init__.py
parent5b2cf15c050250224452cb1a5755227a4101d655 (diff)
[IMP] fleet: add future drivers on cars + managers on models
Basically when someone requests a new car, getting that car ready takes some time, this means that during the waiting period, that person is still driving its old car. This commit adds a field future_driver_id on fleet.vehicle to tackle that problem and a boolean plan_to_change_car on the partner to track who wants to change car. + Apply some linting to the files This commit cleans the vehicle form view, the vehicle contract form view, the cost list view and adds a manager_id field on the vehicle.model which is then used as a related on the vehicle. Task: 1930298 closes odoo/odoo#31197 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/fleet/__init__.py')
-rw-r--r--addons/fleet/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/fleet/__init__.py b/addons/fleet/__init__.py
index 807507c1b6b..be9f4fab00a 100644
--- a/addons/fleet/__init__.py
+++ b/addons/fleet/__init__.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from . import models \ No newline at end of file
+from . import models