GauravSahu / hr_biometric_machine

Biometric Device Integration - Odoo
63 stars 113 forks source link

Biometric Attendance #6

Closed Jeelkhanpara closed 8 years ago

Jeelkhanpara commented 8 years ago

I am not able to get data from biometric M/C. Every Time attendance variable False.

GauravSahu commented 8 years ago

shere your m/c detail

Jeelkhanpara commented 8 years ago

essl Biometric Attendance System ( E9) Wall Mounted. SUPC: SDL514063847

Otherwise You Can Show in Below Link i have purchased from snapdeal http://www.snapdeal.com/product/essl-biometric-attendance-system-e9/1083375002

GauravSahu commented 8 years ago

hi your m/c framework is different
this code is only for zk m/c, i mean zk framework .

albosta commented 8 years ago

Hi, I'm facing this issue: File "/opt/odoo/odoo/openerp/osv/expression.py", line 812, in parse raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf))) ValueError: Invalid field 'emp_code' in leaf "<osv.ExtendedLeaf: ('emp_code', '=', '1') on hr_employee (ctx: )>"

Your kind help is highly appreciated

GauravSahu commented 8 years ago

Hi albosta,

emp_code is my custom field and the type of field is char, so check your field type.

albosta commented 8 years ago

Thank you GauravSahu . I managed to get that working by linking to another field. I am having this issue now: File "/opt/odoo/odoo/addons/hr_biometric_machine/biometric_machine.py", line 41, in download_attendance category = hr_employee.browse(cr,uid,employee_id[0]).category AttributeError: 'hr.employee' object has no attribute 'category'

GauravSahu commented 8 years ago

Hi albosta,

category is also my custom field.

ahmedwajih commented 6 years ago

did someone solved this err (Invalid field 'emp_code' in leaf "<osv.ExtendedLeaf: ('emp_code', '=', '1') on hr_employee (ctx: )>)

albosta #GauravSahu

ShrikrishnaPatil commented 5 years ago

I am using zk30 machine but zk.connect is not working .please help