Merge pull request #1990 from expsa/bakry_hr3

fix
This commit is contained in:
bakry 2024-12-26 15:42:06 +03:00 committed by GitHub
commit 3edcfaa5dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"/>