[IMP] fleet: Add new fuels

Adding some new fuels and link them to the right ATN

closes odoo/odoo#57139

Taskid: 2319585
Related: odoo/enterprise#12983
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Kairis
2020-09-09 14:39:50 +00:00
parent f61a123ece
commit ec0eda3233
+6 -1
View File
@@ -72,7 +72,12 @@ class FleetVehicle(models.Model):
('diesel', 'Diesel'),
('lpg', 'LPG'),
('electric', 'Electric'),
('hybrid', 'Hybrid')
('hybrid', 'Hybrid'),
('plug_in_hybrid_diesel', 'Plug-in Hybrid Diesel'),
('plug_in_hybrid_gasoline', 'Plug-in Hybrid Gasoline'),
('full_hybrid_gasoline', 'Full Hybrid Gasoline'),
('cng', 'CNG'),
('hydrogen', 'Hydrogen'),
], 'Fuel Type', help='Fuel Used by the vehicle')
horsepower = fields.Integer()
horsepower_tax = fields.Float('Horsepower Taxation')