mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] hr_payroll_attendance: Unlink behavior on attendances and remove "Work Calendar" work lines.
This commit is contained in:
17
hr_payroll_attendance/views/hr_attendance_views.xml
Normal file
17
hr_payroll_attendance/views/hr_attendance_views.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_attendance_tree_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.attendance.tree.inherit</field>
|
||||
<field name="model">hr.attendance</field>
|
||||
<field name="inherit_id" ref="hr_attendance.view_attendance_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<xpath expr="//field[@name='worked_hours']" position="after">
|
||||
<field name="payslip_id"/>
|
||||
</xpath>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -12,7 +12,7 @@
|
||||
</button>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='number']" position="after">
|
||||
<field name="attendance_ids" invisible="1"/>
|
||||
<field name="attendance_ids" invisible="1" widget="many2many"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user