From 16e468b01bc1aaffe379140afaaef214d0e3dfc1 Mon Sep 17 00:00:00 2001 From: "nel@tinyerp.com" <> Date: Thu, 8 Apr 2010 16:29:24 +0200 Subject: [PATCH] [IMP] search views bzr revid: nel@tinyerp.com-20100408142924-j4vvkcbcw20gdtzy --- addons/board_hr/board_hr_view.xml | 2 +- addons/board_project/board_scrum_view.xml | 2 +- addons/hr_holidays/report/hr_holidays_report_view.xml | 6 +++--- addons/hr_holidays/security/ir.model.access.csv | 3 +++ addons/mrp/report/mrp_production_order_view.xml | 2 +- addons/project/project_view.xml | 6 +++--- addons/project/report/project_report_view.xml | 2 +- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/addons/board_hr/board_hr_view.xml b/addons/board_hr/board_hr_view.xml index 432bcdac639..ed27a93a326 100644 --- a/addons/board_hr/board_hr_view.xml +++ b/addons/board_hr/board_hr_view.xml @@ -21,7 +21,7 @@ hr_timesheet_sheet.sheet form - [('date_to','>=',time.strftime('%Y-%m-01')),('date_from','<=',time.strftime('%Y-%m-01'))] + [('date_to','>=',time.strftime('%Y-%m-01')),('date_from','<=',time.strftime('%Y-%m-01')),('user_id','=',uid)] diff --git a/addons/board_project/board_scrum_view.xml b/addons/board_project/board_scrum_view.xml index 112da0e6215..45628733ad3 100644 --- a/addons/board_project/board_scrum_view.xml +++ b/addons/board_project/board_scrum_view.xml @@ -32,7 +32,7 @@ diff --git a/addons/hr_holidays/report/hr_holidays_report_view.xml b/addons/hr_holidays/report/hr_holidays_report_view.xml index 5314224ecfb..f0d33bc7b98 100644 --- a/addons/hr_holidays/report/hr_holidays_report_view.xml +++ b/addons/hr_holidays/report/hr_holidays_report_view.xml @@ -109,9 +109,9 @@ graph - - - + + + diff --git a/addons/hr_holidays/security/ir.model.access.csv b/addons/hr_holidays/security/ir.model.access.csv index 246c84ec24a..d928a8dcb9b 100644 --- a/addons/hr_holidays/security/ir.model.access.csv +++ b/addons/hr_holidays/security/ir.model.access.csv @@ -3,6 +3,9 @@ "access_hr_holidays_user","hr holidays user","model_hr_holidays","hr.group_hr_user",1,1,1,0 "access_hr_holydays_status_manager","hr.holidays.status manager","model_hr_holidays_status","hr.group_hr_manager",1,1,1,1 "access_hr_holidays_manager","hr holidays manager","model_hr_holidays","hr.group_hr_manager",1,1,1,1 +"access_hr_holidays_remain","hr holidays user","model_hr_holidays_remaining_leaves_user","hr.group_hr_user",1,0,0,0 "access_hr_holidays_report","hr.holidays.report","model_hr_holidays_report","hr.group_hr_manager",1,1,1,1 "access_hr_holidays_remaining_leaves_user","hr.hr.holidays.remaining.leaves.user","model_hr_holidays_remaining_leaves_user","hr.group_hr_manager",1,1,1,1 "access_available_holidays_report","hr.available.holidays.report","model_available_holidays_report","hr.group_hr_manager",1,1,1,1 +"access_hr_holidays_report_user","hr.holidays.report","model_hr_holidays_report","hr.group_hr_user",1,0,0,0 +"access_available_holidays_report_user","hr.available.holidays.report","model_available_holidays_report","hr.group_hr_user",1,0,0,0 diff --git a/addons/mrp/report/mrp_production_order_view.xml b/addons/mrp/report/mrp_production_order_view.xml index 32a1ef4d0b8..75838557d9f 100644 --- a/addons/mrp/report/mrp_production_order_view.xml +++ b/addons/mrp/report/mrp_production_order_view.xml @@ -84,7 +84,7 @@ - + diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 62e1ecc3c62..3eb78f59faf 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -30,7 +30,7 @@ - + @@ -119,7 +119,7 @@ - + @@ -420,7 +420,7 @@ - + diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index f3c619abe58..f904f38b88c 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -46,7 +46,7 @@ - +