summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/src/js/debug_manager.js
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2020-05-20 14:12:18 +0000
committerAntoine Prieels <anp@odoo.com>2020-09-02 08:36:44 +0000
commit8aee4992778fee5e2f146c4cff8b35e83c7f56b3 (patch)
tree2d31efdf67d4524648d195afc0fb67216e71bc30 /addons/point_of_sale/static/src/js/debug_manager.js
parent1a5cc55dfeb03ad7d4a63a0286d5d33eaca3cbe2 (diff)
[IMP] point_of_sale, pos_*: Enable HTTPS in POS
HTTPS had been disabled on SaaS to allow the use of the IoT Box that had no valid SSL certificate. As of V13.0, IoT Boxes connected to Enterprise DBs have a valid certificate. POS can then use HTTPS. Nginx is configured to redirect all requests to `/pos/web` to HTTP, so we change the POS URL to `/pos/ui`, except when using a Six payment terminal as it only works in HTTP. closes odoo/odoo#51625 Taskid: 2191878 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/static/src/js/debug_manager.js')
-rw-r--r--addons/point_of_sale/static/src/js/debug_manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/static/src/js/debug_manager.js b/addons/point_of_sale/static/src/js/debug_manager.js
index bd0d45c5472..bcc9f60835f 100644
--- a/addons/point_of_sale/static/src/js/debug_manager.js
+++ b/addons/point_of_sale/static/src/js/debug_manager.js
@@ -13,7 +13,7 @@ odoo.define('point_of_sale.DebugManager.Backend', function(require) {
name: _t('JS Tests'),
target: 'new',
type: 'ir.actions.act_url',
- url: '/pos/web/tests?mod=*',
+ url: '/pos/ui/tests?mod=*',
});
},
});