[ADD]name correction for odometer details in service view

bzr revid: csn@openerp.com-20121004121512-j1rcpaos0y74t7xj
This commit is contained in:
Cedric Snauwaert 2012-10-04 14:15:12 +02:00
parent 1d69dcb10f
commit f10fef15c8
2 changed files with 2 additions and 2 deletions

View File

@ -635,7 +635,7 @@ class fleet_vehicle_log_services(osv.Model):
'notes' : fields.text('Notes'),
'odometer_id' : fields.many2one('fleet.vehicle.odometer', 'Odometer', required=False, help='Odometer measure of the vehicle at the moment of this log'),
'odometer' : fields.function(_get_odometer,fnct_inv=_set_odometer,type='char',string='Odometer',store=False),
'odometer' : fields.function(_get_odometer,fnct_inv=_set_odometer,type='char',string='Value',store=False),
'odometer_unit': fields.related('vehicle_id','odometer_unit',type="char",string="Unit",store=False, readonly=True),
}
_defaults = {

View File

@ -591,7 +591,7 @@
<group string="Odometer Details">
<label for="odometer"/>
<div>
<field name="odometer" string="value" class="oe_inline"/>
<field name="odometer" string="Value" class="oe_inline"/>
<field name="odometer_unit" class="oe_inline"/>
</div>
</group>