Skip to Content
Menu
This question has been flagged
4 Replies
6265 Views

I am a Java developer experienced with printing, ESC/POS, scales... I'm starting with Odoo and I liked it a lot, but I miss the direct connection to the hardware like other POS applications. I intend to develop a proxy for Windows and other operating systems with easy configuration. I have the knowledge to do it, I just need to know the communication mechanism between Odoo and hardware proxy or PosBox. Anyone know where can I find documentation or someone who knows?

Thank you very much!

Avatar
Discard
Author

Here you have a videotutorial https://www.youtube.com/watch?v=tLBORABL8wA

Best Answer

If you already have the solution in java you could use it by sending requests to your java servlets or service in order to reuse it. It's better than call it locally with the popen call from the multi-processing package. I have done already to use an specific xml sign encryption algorithm not implemented in python and available in java to avoid errors when using workers

It's better to reuse your tools or use others tools already developed in python for that, than get it done from scratch

Avatar
Discard
Best Answer

Hi

Just asking, I am looking for a PosBox proxy myself. I had a look at takepos.com but I could not find any documentation about any proxy. Is there any link or repository available?

Avatar
Discard
Author Best Answer

Yes, I have all developed. I only need the communication with Odoo. But for this I need to understand and documentation of how Odoo send data to Hardware Server Proxy. 

Some help?

UPDATE: I released the work on takepos.com

Avatar
Discard
Best Answer

Like Axel said , you' d better use what is already done

Odoo is sending data to proxy via controller ( http & json). You can get un insight on how it is done by reading source code of these odoo addons 

For generic Hardware proxy 

https://github.com/odoo/odoo/blob/10.0/addons/hw_proxy/controllers/main.py

For ESCPOS proxy

https://github.com/odoo/odoo/blob/10.0/addons/hw_escpos/controllers/main.py

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 17
2492
0
Aug 16
5061
8
Apr 23
38593
0
Apr 17
4473
1
Dec 24
62