51 lines
2.8 KiB
XML
51 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.hr</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="priority" eval="70"/>
|
|
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form" position="inside">
|
|
<app data-string="Employees" string="Employees" name="hr" groups="hr.group_hr_manager">
|
|
<block title="Employees" name="employees_setting_container">
|
|
<setting help="Enrich employee profiles with skills and resumes" id="enrich_employee_setting">
|
|
<field name="module_hr_skills"/>
|
|
</setting>
|
|
<setting id="home_working_setting" help="Display remote work settings for each employee and dedicated reports. Presence icons will be updated with remote work location.">
|
|
<field name="module_hr_homeworking"/>
|
|
</setting>
|
|
</block>
|
|
<block title="Work Organization" name="work_organization_setting_container">
|
|
<setting company_dependent="1" help="Set default company schedule to manage your employees working time" id="default_company_schedule_setting">
|
|
<field name="resource_calendar_id" required="1" class="o_light_label"
|
|
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]"
|
|
context="{'default_company_id': company_id}"/>
|
|
</setting>
|
|
</block>
|
|
<block title="Employee Update Rights" name="employee_rights_setting_container">
|
|
<setting help="Allow employees to update their own data" title="Allow employees to update their own data.">
|
|
<field name="hr_employee_self_edit"/>
|
|
</setting>
|
|
</block>
|
|
</app>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="hr_config_settings_action" model="ir.actions.act_window">
|
|
<field name="name">Settings</field>
|
|
<field name="res_model">res.config.settings</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">inline</field>
|
|
<field name="context">{'module' : 'hr', 'bin_size': False}</field>
|
|
</record>
|
|
|
|
<menuitem id="hr_menu_configuration"
|
|
name="Settings"
|
|
parent="menu_human_resources_configuration"
|
|
sequence="0"
|
|
action="hr_config_settings_action"
|
|
groups="base.group_system"/>
|
|
</odoo>
|