From c7c2322d52cc3fa9d58acced28235673d3130e55 Mon Sep 17 00:00:00 2001 From: "Jagdish Panchal (Open ERP)" Date: Tue, 3 Jan 2012 17:49:38 +0530 Subject: [PATCH] [FIX] in all hr features remove the default search on user_id lp bug: https://launchpad.net/bugs/909724 fixed bzr revid: jap@tinyerp.com-20120103121938-83er0zgqvgkxs11x --- addons/hr_expense/hr_expense_view.xml | 1 - addons/hr_holidays/hr_holidays_view.xml | 4 ++-- addons/hr_timesheet/hr_timesheet_view.xml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index 4250ec40be0..23883b79838 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -172,7 +172,6 @@ Expenses hr.expense.expense form - {"search_default_user_id":uid} The OpenERP expenses management module allows you to track the full flow. Every month, the employees record their expenses. At the end of the month, their managers validates the expenses sheets which creates costs on projects/analytic accounts. The accountant validates the proposed entries and the employee can be reimbursed. You can also reinvoice the customer at the end of the flow. diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 07a1a42aebd..69e89ef32e3 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -312,7 +312,7 @@ Allocation Requests hr.holidays form - {"search_default_my_leaves": 1,'default_type':'add',"search_default_department_id": department_id} + {'default_type':'add',"search_default_department_id": department_id} [('type','=','add')] @@ -340,7 +340,7 @@ form tree,form - {'search_default_my_leaves': 1, 'search_default_group_type': 1, 'search_default_validated': 1} + {'search_default_group_type': 1, 'search_default_validated': 1} [('holiday_type','=','employee')] diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml index f2b8a6beb0f..8b038191794 100644 --- a/addons/hr_timesheet/hr_timesheet_view.xml +++ b/addons/hr_timesheet/hr_timesheet_view.xml @@ -89,7 +89,7 @@ hr.analytic.timesheet form tree,form - {"search_default_user_id":uid, "search_default_today":1} + {"search_default_today":1} Through this menu you can register and follow your workings hours by project every day.