summaryrefslogtreecommitdiff
path: root/addons/hw_escpos/controllers
diff options
context:
space:
mode:
authorlejeune quentin <qle@odoo.com>2020-02-27 10:35:59 +0000
committerlejeune quentin <qle@odoo.com>2020-03-02 09:01:11 +0000
commitee519c222f0d1aec3f1b4082bbd76d13dedd07b2 (patch)
tree5770ba6e8761c2189af7e6d7b3935344c9fe13b3 /addons/hw_escpos/controllers
parent159699b09c17ba4a56cc634e6ca2585f8a030384 (diff)
[REF] hw_posbox_homepage: Use helpers to get mac address in homepage
We use a library to get mac address of IoT in homepage. however we already have a function that does this in the helper in hw_drivers closes odoo/odoo#46631 X-original-commit: ae78e9cdde777ffac6f08a35dd00a540c92130bb Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Diffstat (limited to 'addons/hw_escpos/controllers')
-rw-r--r--addons/hw_escpos/controllers/main.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/hw_escpos/controllers/main.py b/addons/hw_escpos/controllers/main.py
index 65b7d2d0fd1..2b68ce1b53f 100644
--- a/addons/hw_escpos/controllers/main.py
+++ b/addons/hw_escpos/controllers/main.py
@@ -32,8 +32,6 @@ except ImportError:
from odoo import http, _
from odoo.addons.hw_proxy.controllers import main as hw_proxy
-from uuid import getnode as get_mac
-
_logger = logging.getLogger(__name__)
# workaround https://bugs.launchpad.net/openobject-server/+bug/947231