flectra/addons/hr_recruitment/views/res_config_settings_views.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

60 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.hr.recruitment</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="75"/>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div class="app_settings_block" data-string="Recruitment" string="Recruitment" data-key="hr_recruitment" groups="hr_recruitment.group_hr_recruitment_manager">
<h2>Job Posting</h2>
<div class="row mt16 o_settings_container">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_website_hr_recruitment"/>
</div>
<div class="o_setting_right_pane">
<label string="Online Posting"/>
<div class="text-muted">
Publish available jobs on your website
</div>
</div>
</div>
</div>
<h2>Recruitment Process</h2>
<div class="row mt16 o_settings_container" name="recruitment_process_div">
<div class="col-xs-12 col-md-6 o_setting_box" title="Use interview forms tailored to each job position during the recruitment process. Select the form to use in the job position detail form. This relies on Survey app.">
<div class="o_setting_left_pane">
<field name="module_hr_recruitment_survey"/>
</div>
<div class="o_setting_right_pane">
<label string="Interview Forms"/>
<div class="text-muted">
Use interview forms during recruitment process
</div>
<div class="content-group" id="interview_forms"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
<record id="action_hr_recruitment_configuration" model="ir.actions.act_window">
<field name="name">Settings</field>
<field name="type">ir.actions.act_window</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_recruitment'}</field>
</record>
<menuitem id="menu_hr_recruitment_global_settings" name="Settings"
parent="menu_hr_recruitment_configuration" sequence="0" action="action_hr_recruitment_configuration"
groups="base.group_system"/>
</data>
</odoo>