[FIX] fleet: translability

bzr revid: qdp-launchpad@openerp.com-20121112084645-msivs8jbashvm5us
This commit is contained in:
Quentin (OpenERP) 2012-11-12 09:46:45 +01:00
parent 35c44e7e20
commit 75903aec86
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class fleet_vehicle_cost(osv.Model):
if (record.date):
res[record.id] = str(time.strptime(record.date, tools.DEFAULT_SERVER_DATE_FORMAT).tm_year)
else:
res[record.id] = 'Unknown'
res[record.id] = _('Unknown')
return res
def _cost_name_get_fnc(self, cr, uid, ids, name, unknow_none, context=None):