[IMP] hr_attendance: Add an icon for each button in the Sign/In/Out wizard
authorStephane Wirtel <stephane@openerp.com>
Tue, 9 Mar 2010 16:45:24 +0000 (17:45 +0100)
committerStephane Wirtel <stephane@openerp.com>
Tue, 9 Mar 2010 16:45:24 +0000 (17:45 +0100)
bzr revid: stephane@openerp.com-20100309164524-fy9f95xmqgx1q2w3

addons/hr_attendance/wizard/sign_in_out.py

index e67b886..8e022a3 100644 (file)
@@ -155,7 +155,11 @@ class wiz_si_so(wizard.interface):
     states = {
            'init' : {
                'actions' : [_get_empid],
-               'result' : {'type' : 'form', 'arch' : si_so_form, 'fields' : si_so_fields, 'state' : [('end', 'Cancel'),('si_test', 'Sign in'),('so_test', 'Sign out')] }
+               'result' : {'type' : 'form', 'arch' : si_so_form, 'fields' : si_so_fields, 
+                           'state' : [('end', 'Cancel', 'gtk-cancel'),
+                                      ('si_test', 'Sign in', 'gtk-go-back'),
+                                      ('so_test', 'Sign out', 'gtk-go-forward')]
+                          }
             },
             'si_test' : {
                 'actions' : [],