[MIG] hw_proxy : Migrated to new API.

This commit is contained in:
Rohan Patel
2016-08-04 12:37:08 +02:00
committed by Yannick Tivisse
parent ac7379d3e6
commit 5645635949
3 changed files with 10 additions and 20 deletions
-7
View File
@@ -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,
}
+3
View File
@@ -1 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import main
+7 -13
View File
@@ -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([