[IMP]hr:move a config wizard in hr_installer.xml

bzr revid: mma@tinyerp.com-20110616125815-ehtuxh57zhgqscqh
This commit is contained in:
mayur maheshwari (Open ERP) 2011-06-16 18:28:15 +05:30
parent 3dde2f8036
commit c16609ebd3
2 changed files with 18 additions and 18 deletions

View File

@ -29,6 +29,24 @@
<record id="category_hr_management_config" model="ir.actions.todo.category">
<field name="name">HR Management</field>
<field name="sequence">5</field>
</record>
<!-- employee configure action -->
<record id="action_create_hr_employee_installer" model="ir.actions.act_window">
<field name="name">Create your employees</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hr.employee</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_employee_form"/>
</record>
<record id="config_wizard_action_create_hr_employee_installer" model="ir.actions.todo">
<field name="action_id" ref="action_create_hr_employee_installer"/>
<field name="category_id" ref="category_hr_management_config"/>
<field name="type">normal</field>
<field name="target">current</field>
<field name="state">skip</field>
</record>
</data>

View File

@ -155,24 +155,6 @@
<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>
</record>
<!-- employee configure action -->
<record id="action_create_hr_employee_installer" model="ir.actions.act_window">
<field name="name">Create your employees</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hr.employee</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_employee_form"/>
</record>
<record id="config_wizard_action_create_hr_employee_installer" model="ir.actions.todo">
<field name="action_id" ref="action_create_hr_employee_installer"/>
<field name="category_id" ref="category_hr_management_config"/>
<field name="type">normal</field>
<field name="target">current</field>
<field name="state">skip</field>
</record>
<menuitem action="open_view_employee_list_my" id="menu_open_view_employee_list_my" sequence="3" parent="menu_hr_main"/>
<record id="ir_ui_view_sc_employee" model="ir.ui.view_sc">