Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/24/15, 3:22 AM|
|Seen: 1066 times|
|Last updated: 7/14/15, 4:01 AM|