From 62354263a2cabc0df4925ecacc20723ee7032624 Mon Sep 17 00:00:00 2001 From: "Reporting Team(JNI OpenERP)" <> Date: Tue, 7 Sep 2010 14:34:08 +0530 Subject: [PATCH] [IMP] hr_*:Improve dashboards as per piratepad bzr revid: psi@tinyerp.co.in-20100907090408-oxk6zfi4u3370yhf --- addons/hr_holidays/board_hr_holidays_view.xml | 114 +++++++++++------- .../board_hr_recruitment_statistical_view.xml | 35 ++++++ .../board_hr_timesheet_invoice.xml | 43 ++++++- .../security/ir.model.access.csv | 1 + .../board_hr_timesheet_view.xml | 37 ++++-- 5 files changed, 177 insertions(+), 53 deletions(-) diff --git a/addons/hr_holidays/board_hr_holidays_view.xml b/addons/hr_holidays/board_hr_holidays_view.xml index 4f3f2142447..54fe8153bf2 100644 --- a/addons/hr_holidays/board_hr_holidays_view.xml +++ b/addons/hr_holidays/board_hr_holidays_view.xml @@ -2,50 +2,78 @@ - - My Leaves - ir.actions.act_window - hr.holidays - form - tree,form - [('user_id','=',uid)] - - - - - Remaining Leaves by User - ir.actions.act_window - hr.holidays.remaining.leaves.user - form - graph,tree - [('user_id','=',uid)] - - + + My Leaves + ir.actions.act_window + hr.holidays + form + tree,form + [('user_id','=',uid)] + + - - board.hr.holidays.form - board.board - - form - - - - - + + Remaining Leaves by User + ir.actions.act_window + hr.holidays.remaining.leaves.user + form + graph,tree + [('user_id','=',uid)] + + + + + hr.holidays.awaited.response.tree + hr.holidays + tree + + + + + + + + + + + + + Holidays Awaited For Response + ir.actions.act_window + hr.holidays + form + tree,form + [('state','in',('confirm','validate1'))] + + + + + board.hr.holidays.form + board.board + + form + + + + + + + + + - - board.hr.holidays.remaining.form - board.board - form - - - - - - - - + --> + diff --git a/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml b/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml index 14710cf8f37..59b9aaca546 100644 --- a/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml +++ b/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml @@ -2,5 +2,40 @@ + + applicants.status.tree + hr.applicant + tree + + + + + + + + + + + + + Applicants Status + ir.actions.act_window + hr.applicant + form + tree,form + [('state','in',('draft','open'))] + + + + + board.hr.applicants.status.form + board.board + + + + + + + diff --git a/addons/hr_timesheet_invoice/board_hr_timesheet_invoice.xml b/addons/hr_timesheet_invoice/board_hr_timesheet_invoice.xml index 78945f73f4e..2d38011f279 100644 --- a/addons/hr_timesheet_invoice/board_hr_timesheet_invoice.xml +++ b/addons/hr_timesheet_invoice/board_hr_timesheet_invoice.xml @@ -28,13 +28,50 @@ board.hr.timesheet.invoice board.board - form + form - - + + + + + timesheet.uninvoiced.line.tree + report.timesheet.line + tree + + + + + + + + + + + + + Uninvoice lines with billing rate + report.timesheet.line + form + form,tree + [('invoice_id','=',False)] + + + + + board.hr.timesheet.uninvoiced.form + board.board + form + + + + + + + + diff --git a/addons/hr_timesheet_invoice/security/ir.model.access.csv b/addons/hr_timesheet_invoice/security/ir.model.access.csv index 0d65ae44f1b..619fc6344cf 100644 --- a/addons/hr_timesheet_invoice/security/ir.model.access.csv +++ b/addons/hr_timesheet_invoice/security/ir.model.access.csv @@ -11,3 +11,4 @@ "access_report_random_timesheet_lines","random_timesheet_lines","model_random_timesheet_lines","base.group_hr_manager",1,0,0,0 "access_report_analytic_account_close_system","report.analytic.account.close system","model_report_analytic_account_close","base.group_system",1,1,1,1 "access_report_account_analytic_line_to_invoice_system","report.account.analytic.line.to.invoice system","model_report_account_analytic_line_to_invoice","base.group_system",1,1,1,1 +"access_report_timesheet_line","report.timesheet.line","model_report_timesheet_line","base.group_hr_manager",1,0,0,0 diff --git a/addons/hr_timesheet_sheet/board_hr_timesheet_view.xml b/addons/hr_timesheet_sheet/board_hr_timesheet_view.xml index 70d36184980..aefed275256 100644 --- a/addons/hr_timesheet_sheet/board_hr_timesheet_view.xml +++ b/addons/hr_timesheet_sheet/board_hr_timesheet_view.xml @@ -1,7 +1,8 @@ - + + Timesheets by Month ir.actions.act_window timesheet.report @@ -9,9 +10,9 @@ graph,tree [('user_id','=',uid), ('month', '=' , time.strftime('%m')), ('year', '=', time.strftime('%Y'))] - + - + Timesheets ir.actions.act_window hr_timesheet_sheet.sheet @@ -20,17 +21,39 @@ + + Employee Attendance Graph + timesheet.report + graph + + + + + + + + + + + Employee Attendance Graph + timesheet.report + form + graph + + + board.hr.timesheet.form board.board - + form - - - + + + + hr.timesheet.sheet.tree.simplified.board hr_timesheet_sheet.sheet