[IMP] hw_scanner: remove useless controller
[odoo/odoo.git] / addons / hw_scanner / controllers / main.py
index 8fbdae6..64daf20 100644 (file)
@@ -129,10 +129,6 @@ class Scanner(Thread):
             self.set_status('error',str(e))
             return None
 
-    @http.route('/hw_proxy/Vis_scanner_connected', type='json', auth='none', cors='*')
-    def is_scanner_connected(self):
-        return self.get_device() != None
-    
     def get_barcode(self):
         """ Returns a scanned barcode. Will wait at most 5 seconds to get a barcode, and will
             return barcode scanned in the past if they are not older than 5 seconds and have not