My points of sale POS after a certain time indicate that they are not connected to the server and that they have pending transactions to send, when I try to send the transactions to the server it sends me the error: global name 'psycopg2' is not defined and transactions are not passed to server.
I have to remove cache and restart session so I can continue using the POS.
This error appears to me twice a day in each point of sale and the version that I execute is the Odoo 10.0 + e (Enterprise Version).
The error is in the next image: https://prnt.sc/gom3w6
Any ideas on how to solve? i discard everything related to local network connectivity.