How to connect Odoo 11 with biometric device ( Not ZK device ) - python-3.6

I have a task that need to connect Odoo 11 with biometric device to solve the problem about attendance. I searched google a lot but nothing can help me and all of document is about connect with "ZK Teco" device. But if another device, is it posible? And what technology in Odoo 11 that i can do to connect? Any suggest for me? Thanks in advance

All biometric devices should be having a database which stores all the relevant data. First find out how does the biometric device store data. If it is in SQL database, you can use SQL commands to retrieve data. One of my client was using an access file and was not ready to move to a SQL database. So I just read the data from the access file itself. So find out how it stores data first.

Yes it is possible another devices.
But if you use a ZK device there is already a free module available in the odoo app store to install and work the device with odoo.
Click this link to get the app.(Only works for specific version of devices.)

Related

Syncing Telegram contacts without phone/API

Short: is there a way to let Telegram Windows sync my contacts that I'm storing on my computer in xls/vcf/csv format?
Long: I need to let Telegram Windows (or web) access a xls/vcf/csv-formatted file, that is saved on my local computer, where my contacts are stored. I tried to find a Telegram Windows version/software/platform that has this capability but unfortunately all versions assume you have already uploaded your contacts through your phone or via importing them via API, neither of I which I want to use.
Since Telegram is an open source, I would imagine that implementing a contacts-syncing-capable Windows- (or web-) based software is doable (?). However, before I start implementing one, I thought I would ask in case anyone is aware of an existing one that already has this feature.

Is there a way to check what data is stored in cache?

In case device has no active internet connection and offline persistence is enabled. Is it possible to know what data (collection/document) is cached in the current device?
You can use the normal query API, but tell it to use only locally cached data instead of using the server. This is described in the documentation about source options. You will want to pass a source option that indicates cache only.

How to connect to bluetooth services like PBAB with Qt?

I am trying to read contacts from my phone to my Linux machine using Qt application. I am only able to pair my phone, but unable to connect / read contacts from it. In fact I'm not sure about the exact api to be used to connect to PBAB profile.
I found samples using dbus to connect to PBAB profile and read contacts. But I would like to know if QBluetooth module support the same if so how to use it.
Hope somebody can help me out in this case.
Thanks in advance :)

sqlite db usage in iphone app giving errors

I am creating an app with user login using sqlite i am storing the login details which includes the users favorite movies.suppose another user who has downloaded the app also picks the same movie i want to be able to let the other 1st know about 2nd user.how do i do that.does the sqlite db used to store login details be available for the other user or should i have server to upload each user's login details?I think my confusion is stemming from the fact that i dont understand how people use sqlite in iphone app ?
In very rare instances SQLLite should be used directly. The best way to handle data storage local to an iOS device is CORE DATA. I would suggest you consider using Core Data for storage and not call or mess with SQL Lite directly.

How to view documents stored in the AIR application in the browser?

We have an AIR client which talks to a WAMP server. We store documents.
One of the customer requirement is: they want to their website users to view the documents stored in the AIR application. It should be a read only access. The users will not have our air client installed on their machines. All they do is to check the customer's website.
How can I implement this, please let me know.
Thanks
Vish.
You need to workout a system to send files to the server eventually store then in a Database. You can use a web service for both, sending files (base64encode -> send -> base64decode at destination) as well as running queries if needed.

Resources