summaryrefslogtreecommitdiff
path: root/addons/hr_contract/wizard/hr_departure_wizard_views.xml
blob: d336d93899eacabe97bd3a0286fcb7b6a0b2c9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="hr_departure_wizard_view_form" model="ir.ui.view">
        <field name="name">hr.departure.wizard.view.form.extend</field>
        <field name="model">hr.departure.wizard</field>
        <field name="inherit_id" ref="hr.hr_departure_wizard_view_form" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='departure_date']" position="replace">
                <field name="departure_date" string="Contract End Date"/>
            </xpath>
            <xpath expr="//group[@id='date']" position="inside">
                <field name="set_date_end" string="Set end date to current contract"/>
            </xpath>
        </field>
    </record>
</odoo>