forked from Mapan/odoo17e
61 lines
3.7 KiB
XML
61 lines
3.7 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="Feedback Templates" help="Configure General Feedback Template">
|
|
<setting string="Employee Feedback Template" company_dependent="1">
|
|
<field name="appraisal_employee_feedback_template" class="w-100 feedback-template"/>
|
|
</setting>
|
|
<setting string="Manager Feedback Template" company_dependent="1">
|
|
<field name="appraisal_manager_feedback_template" class="w-100 feedback-template"/>
|
|
</setting>
|
|
</block>
|
|
<block title="Appraisals">
|
|
<div class="alert alert-warning" role="alert" invisible="not appraisal_plan">
|
|
When the Appraisals plan is saved, it will overwrite all empty Next Appraisal Dates for every employee.
|
|
</div>
|
|
<setting string="Appraisals Plans" company_dependent="1" help="Automatically generate appraisals">
|
|
<field name="appraisal_plan"/>
|
|
<div invisible="not appraisal_plan" class="mt8">
|
|
<div class="content-group">
|
|
<field name="duration_after_recruitment" class="text-center w-10" style="width: 10%; min-width: 4rem;"/>
|
|
<label for="duration_after_recruitment" string=" months after recruitment, then after" class="o_light_label"/>
|
|
</div>
|
|
<div class="content-group">
|
|
<field name="duration_first_appraisal" class="text-center" style="width: 10%; min-width: 4rem;"/>
|
|
<label for="duration_first_appraisal" string=" months, then every " class="o_light_label"/>
|
|
<field name="duration_next_appraisal" class="text-center" style="width: 10%; min-width: 4rem;"/>
|
|
<label for="duration_next_appraisal" string=" months." class="o_light_label"/>
|
|
</div>
|
|
</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>
|
|
</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="target">inline</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>
|