[FIX] hw_proxy: remove forms related to supported devices
The concept of supported devices was removed in
e7c51228f3
. These forms should have been
removed with them.
This commit is contained in:
parent
8ef590bb28
commit
9365ecaada
|
@ -108,24 +108,7 @@ class Proxy(http.Controller):
|
||||||
if count == 0:
|
if count == 0:
|
||||||
resp += "<div class='device'>No USB Device Found</div>"
|
resp += "<div class='device'>No USB Device Found</div>"
|
||||||
|
|
||||||
resp += "</div>\n"
|
resp += "</div>\n</body>\n</html>\n\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"
|
|
||||||
|
|
||||||
return request.make_response(resp,{
|
return request.make_response(resp,{
|
||||||
'Cache-Control': 'no-cache',
|
'Cache-Control': 'no-cache',
|
||||||
|
|
Loading…
Reference in New Issue