fully functional python script able to xmlrpc with Odoo for attendances.
Linux: (can be modified for windows & osx)
$ git clone https://github.com/mahesh-wor/attend-xmlrpc-odoo
$ cd attend-xmlrpc-odoo
$ chmod +x attend.py
$ python2 attend.py <username> checkin/out
$ ./attend.py invoron checkin
$ pip3 install pyinstaller
$ pyinstaller --onefile attend.py
$ cp dist/attend /usr/bin
$ attend <username> checkin/out/status/state
Steam-ID – @invoron
Mahesh-wor – @mahesh-wor – [email protected]
Distributed under the GPL license. See LICENSE
for more information.
[https://github.com/mahesh-wor/attend-xmlrpc-odoo]
- Fork it (https://github.com/mahesh-wor/attend-xmlrpc-odoo/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request