diff --git a/addons/hw_proxy/__openerp__.py b/addons/hw_proxy/__openerp__.py index 930925aa7e5..13525eb639b 100644 --- a/addons/hw_proxy/__openerp__.py +++ b/addons/hw_proxy/__openerp__.py @@ -1,10 +1,8 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. - { 'name': 'Hardware Proxy', - 'version': '1.0', 'category': 'Point Of Sale', 'sequence': 6, 'summary': 'Connect the Web Client to Hardware Peripherals', @@ -19,9 +17,4 @@ This modules only contains the enabling framework. The actual devices drivers are found in other modules that must be installed separately. """, - 'depends': [], - 'test': [ - ], - 'installable': True, - 'auto_install': False, } diff --git a/addons/hw_proxy/controllers/__init__.py b/addons/hw_proxy/controllers/__init__.py index 8ee9bae18d9..f48716d3a69 100644 --- a/addons/hw_proxy/controllers/__init__.py +++ b/addons/hw_proxy/controllers/__init__.py @@ -1 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import main diff --git a/addons/hw_proxy/controllers/main.py b/addons/hw_proxy/controllers/main.py index 0a75d114edb..6fab43f3ce4 100644 --- a/addons/hw_proxy/controllers/main.py +++ b/addons/hw_proxy/controllers/main.py @@ -1,22 +1,16 @@ # -*- coding: utf-8 -*- -import logging +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import commands -import json -import os -import os.path -import openerp +import logging import time -import random -import subprocess -import json -import werkzeug -import werkzeug.wrappers + +from odoo import http +from odoo.http import request + _logger = logging.getLogger(__name__) -from openerp import http -from openerp.http import request - # Those are the builtin raspberry pi USB modules, they should # not appear in the list of connected devices. BANNED_DEVICES = set([