mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-12-24 21:31:44 +00:00
24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<flectra>
|
||
|
<record model="ir.ui.view" id="hr_payslip_line_tree_l10n_ch_inherit">
|
||
|
<field name="name">hr.payslip.line.tree.inherit_ch_01</field>
|
||
|
<field name="model">hr.payslip.line</field>
|
||
|
<field name="inherit_id" ref="hr_payroll.view_hr_payslip_line_tree"/>
|
||
|
<field name="priority" eval="20"/>
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//field[@name='rate']" position="attributes">
|
||
|
<attribute name="invisible" translation="off">1</attribute>
|
||
|
</xpath>
|
||
|
<xpath expr="//field[@name='rate']" position="after">
|
||
|
<field name="python_rate"/>
|
||
|
</xpath>
|
||
|
<xpath expr="//field[@name='amount']" position="attributes">
|
||
|
<attribute name="invisible" translation="off">1</attribute>
|
||
|
</xpath>
|
||
|
<xpath expr="//field[@name='amount']" position="after">
|
||
|
<field name="python_amount"/>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
</flectra>
|