From 7a2fb846882f296704c1fbd407aa4c7b92f017f4 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Thu, 12 Mar 2009 10:37:32 +0530 Subject: [PATCH] [FIX] Bug 341187 : Corrected sign in/out wizard bzr revid: jvo@tinyerp.com-20090312050732-i6zlmka7qfmyawk3 --- addons/hr_timesheet/wizard/sign_in_out.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet/wizard/sign_in_out.py b/addons/hr_timesheet/wizard/sign_in_out.py index 400f9f7f242..538a55f75ac 100644 --- a/addons/hr_timesheet/wizard/sign_in_out.py +++ b/addons/hr_timesheet/wizard/sign_in_out.py @@ -141,7 +141,7 @@ def _state_check(self, cr, uid, data, context): class wiz_si_so(wizard.interface): states = { 'init' : { - 'actions' : [], + 'actions' : [_get_empid], 'result' : {'type' : 'choice', 'next_state': _state_check} }, 'sign_out' : { # this means sign_in...