[FIX] hr_holidays: display float for leaves remaining / leaves taken in holiday type name get
This commit is contained in:
parent
4a508885ac
commit
4e0559ef97
|
@ -104,7 +104,7 @@ class hr_holidays_status(osv.osv):
|
|||
for record in self.browse(cr, uid, ids, context=context):
|
||||
name = record.name
|
||||
if not record.limit:
|
||||
name = name + (' (%d/%d)' % (record.leaves_taken or 0.0, record.max_leaves or 0.0))
|
||||
name = name + (' (%g/%g)' % (record.leaves_taken or 0.0, record.max_leaves or 0.0))
|
||||
res.append((record.id, name))
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in New Issue