diff --git a/addons/fleet/fleet.py b/addons/fleet/fleet.py index 0e0c08e30eb..483f989fcde 100644 --- a/addons/fleet/fleet.py +++ b/addons/fleet/fleet.py @@ -77,7 +77,7 @@ class fleet_vehicle_cost(osv.Model): 'name': fields.function(_cost_name_get_fnc, type="char", string='Name', store=True), 'vehicle_id': fields.many2one('fleet.vehicle', 'Vehicle', required=True, help='Vehicle concerned by this log'), 'cost_subtype_id': fields.many2one('fleet.service.type', 'Type', help='Cost type purchased with this cost'), - 'amount': fields.float('Total Price', help="Cost that is paid only once at the creation of the contract"), + 'amount': fields.float('Total Price'), 'cost_type': fields.selection([('contract', 'Contract'), ('services','Services'), ('fuel','Fuel'), ('other','Other')], 'Category of the cost', help='For internal purpose only', required=True), 'parent_id': fields.many2one('fleet.vehicle.cost', 'Parent', help='Parent cost to this current cost'), 'cost_ids': fields.one2many('fleet.vehicle.cost', 'parent_id', 'Included Services'), diff --git a/addons/fleet/fleet_view.xml b/addons/fleet/fleet_view.xml index 25bc62fe798..f3f101ba9bf 100644 --- a/addons/fleet/fleet_view.xml +++ b/addons/fleet/fleet_view.xml @@ -244,7 +244,7 @@