You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
863 B
18 lines
863 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Inherited form view of hr.payslip in order to add new fields related to the module-->
|
|
<record id="hr_payslip_view_form" model="ir.ui.view">
|
|
<field name="name">hr.payslip.view.form.inherit.hr.hourly.payslip</field>
|
|
<field name="model">hr.payslip</field>
|
|
<field name="inherit_id" ref="hr_payroll_community.hr_payslip_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='credit_note']" position="after">
|
|
<field name="show_total_hours" invisible="1"/>
|
|
<field name="total_hours"
|
|
invisible="show_total_hours == False"/>
|
|
<field name="hour_based_salary"
|
|
invisible="show_total_hours == False"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|