53 lines
2.8 KiB
XML
53 lines
2.8 KiB
XML
<openerp>
|
|
<data>
|
|
|
|
<record id="open_payroll1_modules" model="ir.actions.act_window">
|
|
<field name="name">Payroll</field>
|
|
<field name="res_model">ir.module.module</field>
|
|
<field name="view_mode">kanban,tree,form</field>
|
|
<field name="domain">[('shortdesc','ilike','Payroll'),('state','=','uninstalled'),('name','!=','hr_payroll_account')]</field>
|
|
</record>
|
|
|
|
<record id="view_human_resources_configuration" model="ir.ui.view">
|
|
<field name="name">Human Resources Application</field>
|
|
<field name="model">human.resources.configuration</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string ="HR Application">
|
|
<separator string="Human Resources" colspan="4"/>
|
|
<group colspan="4" col="4">
|
|
<label string="Create Your Departments :" />
|
|
<button name="%(view_department_form_installer)d" string="Departments" type="action" icon="terp-personal+"/>
|
|
<label string="Create Your Employees :" />
|
|
<button name="%(open_view_employee_list_my)d" string="Employees" type="action" icon="terp-personal"/>
|
|
<field name="module_hr_timesheet_sheet"/>
|
|
<field name="module_hr_holidays"/>
|
|
<label string="Configure Your Salary Rules :"/>
|
|
<button string="Salary Rules" icon="gtk-go-forward" name="%(open_payroll1_modules)d" type="action" />
|
|
</group>
|
|
<separator string="Additional Features" colspan="4"/>
|
|
<group name="additional features" colspan="4" col="4">
|
|
<field name="module_hr_expense"/>
|
|
<field name="module_hr_recruitment"/>
|
|
<field name="module_hr_evaluation"/>
|
|
<field name="module_hr_contract"/>
|
|
</group>
|
|
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_human_resources_configuration" model="ir.actions.act_window">
|
|
<field name="name">Configure Human Resources Application</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">human.resources.configuration</field>
|
|
<field name="view_id" ref="view_human_resources_configuration"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
</record>
|
|
|
|
<menuitem id="menu_human_resources_configuration" name="Human Resources" parent="base.menu_config" sequence="8" action="action_human_resources_configuration"/>
|
|
|
|
</data>
|
|
</openerp>
|