12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?xml version="1.0" encoding="utf-8"?>
- <odoo>
- <record id="hr_applicant_view_form" model="ir.ui.view">
- <field name="name">hr.applicant.view.form.inherit.hr.recruitment.skills</field>
- <field name="model">hr.applicant</field>
- <field name="inherit_id" ref="hr_recruitment.hr_applicant_view_form"/>
- <field name="arch" type="xml">
- <notebook position="inside">
- <page string="Skills">
- <div class="row">
- <div class="o_hr_skills_editable o_hr_skills_group o_group_skills col-lg-5 d-flex flex-column">
- <field name="id" invisible="1"/>
- <field name="is_interviewer" invisible="1"/>
- <field mode="tree" nolabel="1" name="applicant_skill_ids" widget="skills_one2many"
- context="{'default_applicant_id': id}" attrs="{'readonly': [('is_interviewer', '=', True)]}">
- <tree>
- <field name="skill_type_id" invisible="1"/>
- <field name="skill_id"/>
- <field name="skill_level_id"/>
- <field name="level_progress" widget="progressbar"/>
- </tree>
- </field>
- </div>
- </div>
- </page>
- </notebook>
- </field>
- </record>
- <record id="hr_applicant_view_search_bis" model="ir.ui.view">
- <field name="name">hr.applicant.view.search.inherit.skills.bis</field>
- <field name="model">hr.applicant</field>
- <field name="inherit_id" ref="hr_recruitment.hr_applicant_view_search_bis"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='email_from']" position="after">
- <field name="applicant_skill_ids"/>
- </xpath>
- <filter name="refuse_reason_id" position="after">
- <filter string="Skills" name="groupby_skills" context="{'group_by': 'skill_ids'}"/>
- </filter>
- </field>
- </record>
- <record id="hr_applicant_view_search" model="ir.ui.view">
- <field name="name">hr.applicant.view.search.inherit.skills</field>
- <field name="model">hr.applicant</field>
- <field name="inherit_id" ref="hr_recruitment.hr_applicant_view_search"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='user_id']" position="after">
- <field name="applicant_skill_ids"/>
- </xpath>
- <filter name="stage" position="after">
- <filter string="Skills" name="groupby_skills" context="{'group_by': 'skill_ids'}"/>
- </filter>
- </field>
- </record>
- </odoo>
|