From d0de9d852eaef8be36b413036d4f8bc560ed3df1 Mon Sep 17 00:00:00 2001 From: "Mohammed Shekha (Open ERP)" Date: Thu, 11 Aug 2011 16:56:21 +0530 Subject: [PATCH] [FIX] project : Fixed the issue of signin wizard in project (Maintenance Case : 16779) bzr revid: msh@tinyerp.com-20110811112621-f6d2vj1vnzjckbac --- addons/hr_timesheet/wizard/hr_timesheet_sign_in_out.py | 4 ++-- addons/hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out.py b/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out.py index 90c9a5d..c33eba0 100644 --- a/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out.py +++ b/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out.py @@ -145,9 +145,9 @@ class hr_si_project(osv.osv_memory): return { 'name': 'Sign in / Sign out', 'view_type': 'form', - 'view_mode': 'tree,form', + 'view_mode': 'form', 'res_model': 'hr.sign.%s.project' % in_out, - 'views': [(False,'tree'), (resource_id,'form')], + 'views': [(resource_id,'form')], 'type': 'ir.actions.act_window', 'target': 'new' } diff --git a/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml b/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml index 4e704c5..f029ce2 100644 --- a/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml +++ b/addons/hr_timesheet/wizard/hr_timesheet_sign_in_out_view.xml @@ -84,7 +84,7 @@ Sign in / Sign out by project hr.sign.out.project form - tree,form + form new -- 1.7.10.4