l10n-switzerland-flectra/l10n_ch_hr_payroll/views/hr_contract_view.xml

27 lines
1.2 KiB
XML
Raw Normal View History

2021-12-24 09:56:31 +00:00
<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record model="ir.ui.view" id="hr_contract_form_l10n_ch_inherit">
<field name="name">hr.contract.form.inherit_ch_01</field>
<field name="model">hr.contract</field>
<field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<field name="wage" position="before">
<field name="wage_type" widget="selection"/>
<field name="wage_fulltime" attrs="{'invisible': [('wage_type', '!=', 'month')]}" />
<field name="occupation_rate" attrs="{'invisible': [('wage_type', '!=', 'month')]}"/>
</field>
<field name="struct_id" position="after">
<field name="imp_src"/>
</field>
<xpath expr="//group[@name='duration_group']" position="after">
<group string="OBP">
<field name="lpp_contract_id" options="{'no_create': True, 'no_open': True}"/>
<field name="lpp_rate"/>
<field name="lpp_amount"/>
</group>
</xpath>
</field>
</record>
</flectra>