[REM] hw_posbox_homepage, hw_screen: remove unused code
Function get_hw_screen_message was still present but not called since commit 8b957b7e85
This commit is contained in:
@@ -49,16 +49,6 @@ list_credential_template = jinja_env.get_template('list_credential.html')
|
||||
|
||||
class IoTboxHomepage(web.Home):
|
||||
|
||||
def get_hw_screen_message(self):
|
||||
return """
|
||||
<p>
|
||||
The activate the customer display feature, you will need to reinstall the IoT Box software.
|
||||
You can find the latest images on the <a href="http://nightly.odoo.com/master/posbox/">Odoo Nightly builds</a> website.
|
||||
Make sure to download at least the version 16.<br/>
|
||||
Odoo version 11, or above, is required to use the customer display feature.
|
||||
</p>
|
||||
"""
|
||||
|
||||
def get_pos_device_status(self):
|
||||
statuses = {}
|
||||
for driver in hw_proxy.drivers:
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
from odoo import http
|
||||
from odoo.tools import config
|
||||
from odoo.addons.web.controllers import main as web
|
||||
from openerp.addons.hw_posbox_homepage.controllers import main as homepage
|
||||
|
||||
import jinja2
|
||||
import json
|
||||
@@ -33,15 +32,6 @@ jinja_env.filters["json"] = json.dumps
|
||||
pos_display_template = jinja_env.get_template('pos_display.html')
|
||||
|
||||
|
||||
class Homepage(homepage.IoTboxHomepage):
|
||||
|
||||
def get_hw_screen_message(self):
|
||||
return """
|
||||
<p>
|
||||
If you need to display the current customer basket on another device, you can do it <a href='/point_of_sale/display'>here</a>.
|
||||
</p>
|
||||
"""
|
||||
|
||||
class HardwareScreen(web.Home):
|
||||
|
||||
event_data = threading.Event()
|
||||
|
||||
Reference in New Issue
Block a user