2010-09-17 10:58:55 +00:00
|
|
|
-
|
2010-12-21 12:07:40 +00:00
|
|
|
Print the HR Attendance Report By Month through the wizard
|
2010-09-17 10:58:55 +00:00
|
|
|
-
|
|
|
|
!python {model: hr.employee}: |
|
2010-12-21 12:07:40 +00:00
|
|
|
ctx={}
|
|
|
|
ctx.update({'model': 'hr.employee','active_ids': [ref('hr.employee1'),ref('hr.employee2'),ref('hr.employee3')]})
|
2010-12-22 11:15:49 +00:00
|
|
|
data_dict = {}
|
2010-12-21 12:07:40 +00:00
|
|
|
from tools import test_reports
|
|
|
|
test_reports.try_report_action(cr, uid, 'action_hr_attendance_month',wiz_data=data_dict, context=ctx, our_module='hr_attendance')
|
2010-09-17 10:58:55 +00:00
|
|
|
-
|
2010-12-21 12:07:40 +00:00
|
|
|
Print HR Attendance Error Report through the wizard
|
|
|
|
-
|
2010-09-17 10:58:55 +00:00
|
|
|
!python {model: hr.employee}: |
|
2010-12-21 12:07:40 +00:00
|
|
|
ctx={}
|
|
|
|
ctx.update({'model': 'hr.employee','active_ids': [ref('hr.employee1')]})
|
2010-12-22 11:15:49 +00:00
|
|
|
data_dict = {'init_date': time.strftime('%Y-01-01')}
|
2010-12-21 12:07:40 +00:00
|
|
|
from tools import test_reports
|
|
|
|
test_reports.try_report_action(cr, uid, 'action_hr_attendance_error',wiz_data=data_dict, context=ctx, our_module='hr_attendance')
|