Browse Source

Jun 19 : [FIX] Bug Fixed 'hr_zk_attendance'

pull/257/head
AjmalCybro 2 years ago
parent
commit
62664e50f3
  1. 4
      hr_zk_attendance/__manifest__.py
  2. 8
      hr_zk_attendance/views/zk_machine_attendance_view.xml

4
hr_zk_attendance/__manifest__.py

@ -21,7 +21,7 @@
################################################################################### ###################################################################################
{ {
'name': 'Biometric Device Integration', 'name': 'Biometric Device Integration',
'version': '16.0.1.0.0', 'version': '16.0.1.1.0',
'summary': """Integrating Biometric Device (Model: ZKteco uFace 202) With HR Attendance (Face + Thumb)""", 'summary': """Integrating Biometric Device (Model: ZKteco uFace 202) With HR Attendance (Face + Thumb)""",
'description': """This module integrates Odoo with the biometric device(Model: ZKteco uFace 202),odoo15,odoo,hr,attendance""", 'description': """This module integrates Odoo with the biometric device(Model: ZKteco uFace 202),odoo15,odoo,hr,attendance""",
'category': 'Generic Modules/Human Resources', 'category': 'Generic Modules/Human Resources',
@ -35,7 +35,7 @@
'views/zk_machine_attendance_view.xml', 'views/zk_machine_attendance_view.xml',
'data/download_data.xml' 'data/download_data.xml'
], ],
'images': ['static/description/banner.png'], 'images': ['static/description/banner_.png'],
'license': 'AGPL-3', 'license': 'AGPL-3',
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,

8
hr_zk_attendance/views/zk_machine_attendance_view.xml

@ -6,9 +6,9 @@
<field name="model">hr.attendance</field> <field name="model">hr.attendance</field>
<field name="inherit_id" ref="hr_attendance.view_attendance_tree"/> <field name="inherit_id" ref="hr_attendance.view_attendance_tree"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="Employee attendances"> <field name="worked_hours" position="after">
<field name="worked_hours" type="measure"/> <field name="worked_hours" type="measure"/>
</tree> </field>
</field> </field>
</record> </record>
@ -17,13 +17,13 @@
<field name="model">hr.attendance</field> <field name="model">hr.attendance</field>
<field name="inherit_id" ref="hr_attendance.hr_attendance_view_filter"/> <field name="inherit_id" ref="hr_attendance.hr_attendance_view_filter"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Hr Attendance Search"> <xpath expr="//filter[@name='groupby_check_out']" position="after">
<group expand="0" string="Group By"> <group expand="0" string="Group By">
<separator/> <separator/>
<filter name="date" string="Date" context="{'group_by':'check_in:day'}"/> <filter name="date" string="Date" context="{'group_by':'check_in:day'}"/>
</group> </group>
</search> </xpath>
</field> </field>
</record> </record>

Loading…
Cancel
Save