summaryrefslogtreecommitdiff
path: root/addons/hw_proxy/controllers/main.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-09-21 16:01:58 +0200
committerDenis Ledoux <dle@odoo.com>2015-09-21 16:01:58 +0200
commita3648fd23a21efe3d2d507fb926b7f7cc55c1bba (patch)
treeef5f6ae4fb1080319fada8e5b31571ae7b8e4c05 /addons/hw_proxy/controllers/main.py
parent9975a04e4d81f718b13fef41b798d82d709a718b (diff)
parentaabbdc7339b9c2e1c10824ca2fc0a86419c46685 (diff)
[MERGE] forward port of branch 8.0 up to aabbdc7
Diffstat (limited to 'addons/hw_proxy/controllers/main.py')
-rw-r--r--addons/hw_proxy/controllers/main.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/addons/hw_proxy/controllers/main.py b/addons/hw_proxy/controllers/main.py
index eb95527efcd..173cfd599fe 100644
--- a/addons/hw_proxy/controllers/main.py
+++ b/addons/hw_proxy/controllers/main.py
@@ -108,24 +108,7 @@ class Proxy(http.Controller):
if count == 0:
resp += "<div class='device'>No USB Device Found</div>"
- resp += "</div>\n"
- resp += """
- <h2>Add New Printer</h2>
- <p>
- Copy and paste your printer's device description in the form below. You can find
- your printer's description in the device list above. If you find that your printer works
- well, please send your printer's description to <a href='mailto:support@odoo.com'>
- support@openerp.com</a> so that we can add it to the default list of supported devices.
- </p>
- <form action='/hw_proxy/escpos/add_supported_device' method='GET'>
- <input type='text' style='width:400px' name='device_string' placeholder='123a:b456 Sample Device description' />
- <input type='submit' value='submit' />
- </form>
- <h2>Reset To Defaults</h2>
- <p>If the added devices cause problems, you can <a href='/hw_proxy/escpos/reset_supported_devices'>Reset the
- device list to factory default.</a> This operation cannot be undone.</p>
- """
- resp += "</body>\n</html>\n\n"
+ resp += "</div>\n</body>\n</html>\n\n"
return request.make_response(resp,{
'Cache-Control': 'no-cache',