hr_recruitment/views/hr_applicant_refuse_reason_views.xml
Данил Воробьев cd7aff508a initial commit
2024-05-14 11:11:34 +00:00

47 lines
2.0 KiB
XML

<?xml version="1.0"?>
<odoo>
<data>
<record id="hr_applicant_refuse_reason_view_form" model="ir.ui.view">
<field name="name">Applicant refuse reason form</field>
<field name="model">hr.applicant.refuse.reason</field>
<field name="arch" type="xml">
<form string="Refuse Reason">
<sheet>
<widget name="web_ribbon" text="Archived" bg_color="text-bg-danger" invisible="active"/>
<div class="oe_title">
<div class="oe_edit_only">
<label for="name"/>
</div>
<h1>
<field name="name"/>
</h1>
<field name="active" invisible="1"/>
</div>
<group>
<field name="template_id" context="{'default_model': 'hr.applicant'}"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="hr_applicant_refuse_reason_view_tree" model="ir.ui.view">
<field name="name">Applicant refuse reason tree</field>
<field name="model">hr.applicant.refuse.reason</field>
<field name="arch" type="xml">
<tree string="Refuse Reason" editable="bottom">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="template_id" context="{'default_model': 'hr.applicant'}"/>
</tree>
</field>
</record>
<record id="hr_applicant_refuse_reason_action" model="ir.actions.act_window">
<field name="name">Refuse Reasons</field>
<field name="res_model">hr.applicant.refuse.reason</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>