Odoo Help


Disable PosBox Status Print

Wira Bakti Soenaryo
on 6/24/15, 3:22 AM 644 views

How to disable the PosBox Status printing everytime the posbox rebooted. It waste a lot of paper if everyday the system is rebooted.

The posbox status I mean the IP address and Homepage infiormation that printed automatically everytime we turn on the posbox.

On 7/13/15, 9:09 PM

Looks like all you have to do is comment it out and put in a pass statement (in bold below):

(excerpt from file on the posbox: /home/pi/odoo/addons/hw_escpos/controllers/main.py -Line 177 has call to comment)

Make sure to indent the pass with 4 spaces to align with old function call position.

elif task == 'xml_receipt':
if timestamp >= time.time() - 1 * 60 * 60:
elif task == 'cashbox':
if timestamp >= time.time() - 12:
elif task == 'printstatus':

elif task == 'status':
error = False

It works.... thank you.

Wira Bakti Soenaryo
on 7/14/15, 4:01 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 6/24/15, 3:22 AM
Seen: 644 times
Last updated: 7/14/15, 4:01 AM