Merge lp:~openerp-dev/openobject-addons/trunk-opw-578450-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Merged
Merged at revision: 8299
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-578450-port-mma
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
hr_timesheet/wizard/hr_timesheet_sign_in_out.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-578450-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+135056@code.launchpad.net

Description of the change

Hello,

      I have Fixed the issue of translation, added missing underscore for action string.
      code is forward port from 6.1

Thanks,
Mayur

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_timesheet/wizard/hr_timesheet_sign_in_out.py'
2--- hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2012-10-24 20:14:24 +0000
3+++ hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2012-11-20 06:11:20 +0000
4@@ -143,7 +143,7 @@
5 model_data_ids = obj_model.search(cr,uid,[('model','=','ir.ui.view'),('name','=','view_hr_timesheet_sign_%s' % in_out)], context=context)
6 resource_id = obj_model.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
7 return {
8- 'name': 'Sign in / Sign out',
9+ 'name': _('Sign in / Sign out'),
10 'view_type': 'form',
11 'view_mode': 'tree,form',
12 'res_model': 'hr.sign.%s.project' % in_out,

Subscribers

People subscribed via source and target branches

to all changes: