51 lines
3.0 KiB
XML
51 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="res_config_settings_view_employee_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.hr.appraisal</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="hr.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//form" position="inside">
|
|
<app data-string="Appraisal" string="Appraisal" name="hr_appraisal" groups="hr.group_hr_manager">
|
|
<block title="Appraisals Plans">
|
|
<div class="row">
|
|
<setting string="Appraisals Plans" company_dependent="1" help="Define the next appraisal date automatically based on Appraisal's History">
|
|
<div class="content-group mt8">
|
|
<field name="duration_after_recruitment" class="text-center w-10" style="width: 3ch"/>
|
|
<label for="duration_after_recruitment" string=" months after recruitment, then after" class="o_light_label"/>
|
|
</div>
|
|
<div class="content-group mt8">
|
|
<field name="duration_first_appraisal" class="text-center" style="width: 3ch"/>
|
|
<label for="duration_first_appraisal" string=" months, then every " class="o_light_label"/>
|
|
<field name="duration_next_appraisal" class="text-center" style="width: 3ch"/>
|
|
<label for="duration_next_appraisal" string=" months." class="o_light_label"/>
|
|
</div>
|
|
</setting>
|
|
<setting name="360_feedback" string="360 Feedback" company_dependent="1" help="Ask to fill a survey to other employees">
|
|
<field name="module_hr_appraisal_survey"/>
|
|
</setting>
|
|
</div>
|
|
<setting string="Appraisals Automation" company_dependent="1" help="Automatically creates the confirmed appraisals when Next Appraisal Date is reached">
|
|
<field name="appraisal_plan"/>
|
|
</setting>
|
|
</block>
|
|
</app>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="hr_appraisal_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="context">{'module' : 'hr_appraisal', 'bin_size': False}</field>
|
|
</record>
|
|
|
|
<menuitem id="hr_appraisal_menu_configuration"
|
|
name="Settings"
|
|
parent="menu_hr_appraisal_configuration"
|
|
sequence="0"
|
|
action="hr_appraisal_config_settings_action"
|
|
groups="base.group_system"/>
|
|
</odoo>
|