[FIX] hw_posbox_upgrade: posbox restart was not working
[odoo/odoo.git] / addons / hw_posbox_upgrade / controllers / main.py
index b741a7a..21245a5 100644 (file)
@@ -32,7 +32,7 @@ upgrade_template = """
                         $('#upgrade').html('Upgrade Successful<br \\>Click to Restart the PosBox');
                         $('#upgrade').off('click');
                         $('#upgrade').click(function(){
-                            $.ajax({ url:'hw_proxy/perform_restart' })
+                            $.ajax({ url:'/hw_proxy/perform_restart' })
                             $('#upgrade').text('Restarting');
                             $('#upgrade').off('click');
                             setTimeout(function(){