~openupgrade-committers/openupgrade-addons/6.0

« back to all changes in this revision

Viewing changes to hr_timesheet/wizard/hr_timesheet_sign_in_out.py

  • Committer: Anup(OpenERP)
  • Date: 2011-08-11 13:16:37 UTC
  • mfrom: (4765.1.1 openobject-addons)
  • Revision ID: ach@tinyerp.com-20110811131637-vwncx1323hwhkjz8
[MERGE] hr_timesheet : Merged Mohammed's branch for signin/signout wizard view fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        return {
146
146
            'name': 'Sign in / Sign out',
147
147
            'view_type': 'form',
148
 
            'view_mode': 'tree,form',
 
148
            'view_mode': 'form',
149
149
            'res_model': 'hr.sign.%s.project' % in_out,
150
 
            'views': [(False,'tree'), (resource_id,'form')],
 
150
            'views': [(resource_id,'form')],
151
151
            'type': 'ir.actions.act_window',
152
152
            'target': 'new'
153
153
        }