Jagdish Panchal (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_hr-jap into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve_default_filter_hr-jap/+merge/94324
Hello
HR_*: Remove the default filter on list view from the following files
1) hr/hr_view.xml
2) hr_attendance/hr_attendance_view.xml
3) hr_contract/hr_contract_view.xml
4) hr_evaluation/hr_evaluation_view.xml
5) hr_holidays/hr_holidays_view.xml
6) hr_recruitment/hr_recruitment_menu.xml
7) hr_timesheet/hr_timesheet_view.xml
Thanks,
JAP
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve_default_filter_hr-jap/+merge/94324
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_hr-jap.
=== modified file 'hr/hr_view.xml'
--- hr/hr_view.xml 2011-12-23 09:17:44 +0000
+++ hr/hr_view.xml 2012-02-23 06:50:24 +0000
@@ -185,7 +185,7 @@
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="domain">[]</field>
- <field name="context">{"search_default_department_id": department_id,"search_default_active":eval('True')}</field>
+ <field name="context">{}</field>
<field name="view_id" eval="False"/>
<field name="search_view_id" ref="view_employee_filter"/>
<field name="help">Here you can manage your work force by creating employees and assigning them specific properties in the system. Maintain all employee related information and keep track of anything that needs to be recorded for them. The personal information tab will help you maintain their identity data. The Categories tab gives you the opportunity to assign them related employee categories depending on their position and activities within the company. A category can be a seniority level within the company or a department. The Timesheets tab allows to assign them a specific timesheet and analytic journal where they will be able to enter time through the system. In the note tab, you can enter text data that should be recorded for a specific employee.</field>
=== modified file 'hr_attendance/hr_attendance_view.xml'
--- hr_attendance/hr_attendance_view.xml 2011-12-30 10:17:49 +0000
+++ hr_attendance/hr_attendance_view.xml 2012-02-23 06:50:24 +0000
@@ -72,7 +72,7 @@
<field name="res_model">hr.attendance</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
- <field name="context">{"search_default_today":1}</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="view_hr_attendance_filter" />
<field name="help">The Time Tracking functionality aims to manage employee attendances from Sign in/Sign out actions. You can also link this feature to an attendance device using OpenERP's web service features.</field>
</record>
=== modified file 'hr_contract/hr_contract_view.xml'
--- hr_contract/hr_contract_view.xml 2011-11-03 14:53:50 +0000
+++ hr_contract/hr_contract_view.xml 2012-02-23 06:50:24 +0000
@@ -129,7 +129,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="domain">[]</field>
- <field name="context">{'search_default_current':1}</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="hr_contract_view_search"/>
</record>
=== modified file 'hr_evaluation/hr_evaluation_view.xml'
--- hr_evaluation/hr_evaluation_view.xml 2012-01-03 09:11:18 +0000
+++ hr_evaluation/hr_evaluation_view.xml 2012-02-23 06:50:24 +0000
@@ -385,7 +385,7 @@
<field name="view_type">form</field>
<field name="view_id" eval="False"/>
<field name="domain">[('is_evaluation' ,'=', True)]</field>
- <field name="context">{'default_is_evaluation': True, "search_default_todo":1,"search_default_user_id":uid}</field>
+ <field name="context">{'default_is_evaluation': True}</field>
<field name="search_view_id" ref="view_hr_evaluation_interview_search"/>
<field name="help">Interview Requests are generated automatically by OpenERP according to an employee's Appraisal Plan. Each user receives automatic emails and requests to evaluate their colleagues periodically.</field>
</record>
=== modified file 'hr_holidays/hr_holidays_view.xml'
--- hr_holidays/hr_holidays_view.xml 2012-01-31 13:36:57 +0000
+++ hr_holidays/hr_holidays_view.xml 2012-02-23 06:50:24 +0000
@@ -258,7 +258,7 @@
<field name="res_model">hr.holidays</field>
<field name="view_type">form</field>
<field name="view_id" ref="edit_holiday_new"/>
- <field name="context">{"search_default_department_id": department_id, "search_default_my_leaves": 1}</field>
+ <field name="context">{}</field>
<field name="domain">[('type','=','remove')]</field>
<field name="search_view_id" ref="view_hr_holidays_filter"/>
<field name="help">Leave requests can be recorded by employees and validated by their managers. Once a leave request is validated, it appears automatically in the agenda of the employee. You can define several allowance types (paid holidays, sickness, etc.) and manage allowances per type.</field>
@@ -291,7 +291,7 @@
<field name="name">Requests Approve</field>
<field name="res_model">hr.holidays</field>
<field name="view_type">form</field>
- <field name="context">{'default_type': 'add', 'search_default_approve':1,"search_default_department_id": department_id}</field>
+ <field name="context">{'default_type': 'add'}</field>
<field name="domain">[('type','=','remove')]</field>
<field name="view_id" ref="edit_holiday_new"/>
<field name="search_view_id" ref="view_hr_holidays_filter"/>
@@ -345,7 +345,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" eval="view_holiday_simple"/>
- <field name="context">{'search_default_group_type': 1, 'search_default_validated': 1}</field>
+ <field name="context">{}</field>
<field name="domain">[('holiday_type','=','employee')]</field>
<field name="search_view_id" ref="view_hr_holidays_filter"/>
</record>
=== modified file 'hr_recruitment/hr_recruitment_menu.xml'
--- hr_recruitment/hr_recruitment_menu.xml 2011-12-19 16:54:40 +0000
+++ hr_recruitment/hr_recruitment_menu.xml 2012-02-23 06:50:24 +0000
@@ -8,7 +8,7 @@
<field name="res_model">hr.applicant</field>
<field name="view_mode">kanban,tree,form,graph,calendar</field>
<field name="view_id" eval="False"/>
- <field name="context">{'search_default_filter_inprogress':1,'search_default_filter_new':1,"search_default_department_id": department_id}</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="view_crm_case_jobs_filter"/>
<field name="help">From this menu you can track applicants in the recruitment process and manage all operations: meetings, interviews, phone calls, etc. If you setup the email gateway, applicants and their attached CV are created automatically when an email is sent to [email protected]. If you install the document management modules, all documents (CV and motivation letters) are indexed automatically, so that you can easily search through their content.</field>
</record>
=== modified file 'hr_timesheet/hr_timesheet_view.xml'
--- hr_timesheet/hr_timesheet_view.xml 2012-01-03 12:19:38 +0000
+++ hr_timesheet/hr_timesheet_view.xml 2012-02-23 06:50:24 +0000
@@ -89,7 +89,7 @@
<field name="res_model">hr.analytic.timesheet</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
- <field name="context">{"search_default_today":1}</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="hr_timesheet_line_search"/>
<field name="help">Through this menu you can register and follow your workings hours by project every day.</field>
</record>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp