[FIX]hr_timesheet: Fixed the issue of translation for the action string for wizard
bzr revid: mma@tinyerp.com-20121120060611-m42lsfsvyf7vmkfw
This commit is contained in:
parent
d9d127403b
commit
aa97fe51a9
|
@ -143,7 +143,7 @@ class hr_si_project(osv.osv_memory):
|
|||
model_data_ids = obj_model.search(cr,uid,[('model','=','ir.ui.view'),('name','=','view_hr_timesheet_sign_%s' % in_out)], context=context)
|
||||
resource_id = obj_model.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
|
||||
return {
|
||||
'name': 'Sign in / Sign out',
|
||||
'name': _('Sign in / Sign out'),
|
||||
'view_type': 'form',
|
||||
'view_mode': 'tree,form',
|
||||
'res_model': 'hr.sign.%s.project' % in_out,
|
||||
|
|
Loading…
Reference in New Issue