69 lines
2.9 KiB
XML
69 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_hr_installer" model="ir.ui.view">
|
|
<field name="name">hr.installer.view</field>
|
|
<field name="model">hr.installer</field>
|
|
<field name="type">form</field>
|
|
<field name="inherit_id" ref="base.res_config_installer"/>
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<form position="attributes">
|
|
<attribute name="string">Select Human Resources Modules To Install</attribute>
|
|
</form>
|
|
<separator string="title" position="attributes">
|
|
<attribute name="string">Select Human Resources Modules To Install</attribute>
|
|
</separator>
|
|
<xpath expr='//separator[@string="vsep"]' position='attributes'>
|
|
<attribute name='string'></attribute>
|
|
</xpath>
|
|
<xpath expr="//label[@string='description']" position="attributes">
|
|
<attribute name="string">The base Human Resources addon will help you manage your employee roster, but you can enhance it even further by installing a few HR-related applications.</attribute>
|
|
</xpath>
|
|
<group colspan="8">
|
|
<field name="hr_holidays"/>
|
|
<field name="hr_expense"/>
|
|
<field name="hr_recruitment"/>
|
|
<field name="hr_timesheet_sheet"/>
|
|
<field name="hr_contract"/>
|
|
<field name="hr_evaluation"/>
|
|
<field name="hr_attendance"/>
|
|
</group>
|
|
<xpath expr="//button[@string='Install Modules']" position="attributes">
|
|
<attribute name="string">Configure</attribute>
|
|
</xpath>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_hr_installer" model="ir.actions.act_window">
|
|
<field name="name">Human Resources Modules Installation</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">hr.installer</field>
|
|
<field name="view_id" ref="view_hr_installer"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<record id="hr_installer_todo" model="ir.actions.todo">
|
|
<field name="action_id" ref="action_hr_installer"/>
|
|
<field name="sequence">3</field>
|
|
</record>
|
|
|
|
<record id="hr_ir_actions_todo_tree" model="ir.ui.view">
|
|
<field name="model">ir.actions.todo</field>
|
|
<field name="name">hr_installer_action_replace</field>
|
|
<field name="type">tree</field>
|
|
<field name="inherit_id" ref="base.ir_actions_todo_tree"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@string='Launch']" position="replace">
|
|
<button name="%(action_hr_installer)d" states="open,skip" string="Launch" type="action" icon="gtk-execute" help="Launch Configuration Wizard"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|