l10n-switzerland-flectra/l10n_ch_hr_payroll/views/hr_payroll_view.xml
2021-12-24 10:56:31 +01:00

32 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record model="ir.ui.view" id="hr_salary_rule_list_l10n_ch_inherit1">
<field name="name">hr.salary.rule.list_l10n_ch_inherit1</field>
<field name="model">hr.salary.rule</field>
<field name="inherit_id" ref="hr_payroll.hr_salary_rule_list"/>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="default_order" translation="off">sequence</attribute>
</xpath>
<xpath expr="//tree/field[@name='name']" position="before">
<field name="sequence"/>
</xpath>
</field>
</record>
<record model="ir.ui.view" id="hr_payroll_struc_l10n_ch_inherit1">
<field name="name">hr.payroll.struc_l10n_ch_inherit2</field>
<field name="model">hr.payroll.structure</field>
<field name="inherit_id" ref="hr_payroll.view_hr_employee_grade_form"/>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='rule_ids']/tree" position="attributes">
<attribute name="default_order" translation="off">sequence</attribute>
</xpath>
<xpath expr="//field[@name='rule_ids']/tree/field[@name='name']" position="before">
<field name="sequence"/>
</xpath>
</field>
</record>
</flectra>