[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:
Mohammed Shekha(Open ERP) 2012-11-20 11:36:11 +05:30 committed by Mayur Maheshwari (OpenERP)
parent d9d127403b
commit aa97fe51a9
1 changed files with 1 additions and 1 deletions

View File

@ -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,