Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
7112 Vizualizări

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!

Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 17
3112
0
aug. 16
5848
8
apr. 23
38597
0
apr. 17
5329
1
aug. 25
382