This commit is contained in:
Bakry 2024-12-26 13:42:00 +03:00
parent 5f7da6e40a
commit 7025de93e2
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<field name="model">hr.attendance.transaction</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree decoration-danger="is_absent == True" decoration-primary="approve_exit_out == True" decoration-muted="approve_lateness == True">
<tree decoration-danger="is_absent == True" decoration-primary="approve_exit_out == True" decoration-muted="approve_lateness == True" create="false" edit="false" delete="false">
<field name="employee_number" string="Employee Number"/>
<field name="employee_id" string="Employee Name"/>
<field name="department_id" string="Department Name" />
@ -37,7 +37,7 @@
<field name="name">Attendance Transaction</field>
<field name="model">hr.attendance.transaction</field>
<field name="arch" type="xml">
<form>
<form create="false" edit="false" delete="false">
<sheet>
<group>
<field name="employee_id" required="1" colspan="4" readonly="1"/>