2012-04-02 05:44:18 +00:00
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2012-05-14 13:10:42 +00:00
|
|
|
<record id="open_payroll_modules" model="ir.actions.act_window">
|
2012-04-04 06:47:58 +00:00
|
|
|
<field name="name">Payroll</field>
|
|
|
|
<field name="res_model">ir.module.module</field>
|
|
|
|
<field name="view_mode">kanban,tree,form</field>
|
2012-05-14 13:10:42 +00:00
|
|
|
<field name="context" eval="{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'payroll'}"/>
|
|
|
|
<field name="search_view_id" ref="base.view_module_filter"/>
|
2012-04-04 06:47:58 +00:00
|
|
|
</record>
|
|
|
|
|
2012-04-02 05:44:18 +00:00
|
|
|
<record id="view_human_resources_configuration" model="ir.ui.view">
|
2012-04-10 10:56:32 +00:00
|
|
|
<field name="name">hr settings</field>
|
|
|
|
<field name="model">hr.config.settings</field>
|
2012-04-02 05:44:18 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 14:39:04 +00:00
|
|
|
<form string="Configure Human Resources" version="7.0">
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2012-06-29 08:30:24 +00:00
|
|
|
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
2012-06-27 14:50:49 +00:00
|
|
|
or
|
|
|
|
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
2012-06-04 12:11:39 +00:00
|
|
|
</header>
|
2012-07-19 11:21:03 +00:00
|
|
|
<separator string="Additional Features"/>
|
|
|
|
<group>
|
|
|
|
<label for="id" string="Additional Features"/>
|
2012-07-06 12:34:13 +00:00
|
|
|
<div>
|
2012-07-19 11:21:03 +00:00
|
|
|
<div>
|
|
|
|
<field name="module_hr_expense" class="oe_inline"/>
|
|
|
|
<label for="module_hr_expense"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_evaluation" class="oe_inline"/>
|
|
|
|
<label for="module_hr_evaluation"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_holidays" class="oe_inline"/>
|
|
|
|
<label for="module_hr_holidays"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_recruitment" class="oe_inline"/>
|
|
|
|
<label for="module_hr_recruitment"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_contract" class="oe_inline"/>
|
|
|
|
<label for="module_hr_contract"/>
|
|
|
|
</div>
|
|
|
|
<div name="hr_payroll">
|
|
|
|
<field name="module_hr_payroll" class="oe_inline"/>
|
|
|
|
<label for="module_hr_payroll"/>
|
|
|
|
<button name="%(open_payroll_modules)d" type="action"
|
2012-07-06 12:34:13 +00:00
|
|
|
string="Install Country-Specific Payroll" icon="gtk-go-forward"
|
2012-07-19 11:21:03 +00:00
|
|
|
attrs="{'invisible': [('module_hr_payroll','=',False)]}" class="oe_link"/>
|
|
|
|
</div>
|
2012-07-06 12:34:13 +00:00
|
|
|
</div>
|
2012-06-22 09:41:40 +00:00
|
|
|
</group>
|
2012-07-19 11:21:03 +00:00
|
|
|
<separator string="Timesheets"/>
|
|
|
|
<group name="timesheet_grp">
|
|
|
|
<label for="id" string="Timesheet Features"/>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_attendance" on_change="onchange_hr_attendance(module_hr_attendance)" class="oe_inline"/>
|
|
|
|
<label for="module_hr_attendance"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<field name="module_hr_timesheet" on_change="onchange_hr_timesheet(module_hr_timesheet)" class="oe_inline"/>
|
|
|
|
<label for="module_hr_timesheet"/>
|
|
|
|
</div>
|
|
|
|
<div name="hr_timesheet">
|
|
|
|
<field name="module_hr_timesheet_sheet" class="oe_inline"/>
|
|
|
|
<label for="module_hr_timesheet_sheet"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-06 12:34:13 +00:00
|
|
|
</group>
|
2012-04-02 05:44:18 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_human_resources_configuration" model="ir.actions.act_window">
|
2012-04-18 08:47:42 +00:00
|
|
|
<field name="name">Configure Human Resources</field>
|
2012-04-10 10:56:32 +00:00
|
|
|
<field name="res_model">hr.config.settings</field>
|
2012-04-02 05:44:18 +00:00
|
|
|
<field name="view_id" ref="view_human_resources_configuration"/>
|
|
|
|
<field name="view_mode">form</field>
|
2012-04-10 10:56:32 +00:00
|
|
|
<field name="target">inline</field>
|
2012-04-02 05:44:18 +00:00
|
|
|
</record>
|
|
|
|
|
2012-04-18 13:29:52 +00:00
|
|
|
<menuitem id="menu_human_resources_configuration" name="Human Resources" parent="base.menu_config"
|
|
|
|
sequence="15" action="action_human_resources_configuration"/>
|
2012-04-02 05:44:18 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|