diff options
| author | Antoine Prieels <anp@odoo.com> | 2020-05-20 14:12:18 +0000 |
|---|---|---|
| committer | Antoine Prieels <anp@odoo.com> | 2020-09-02 08:36:44 +0000 |
| commit | 8aee4992778fee5e2f146c4cff8b35e83c7f56b3 (patch) | |
| tree | 2d31efdf67d4524648d195afc0fb67216e71bc30 /addons/pos_hr | |
| parent | 1a5cc55dfeb03ad7d4a63a0286d5d33eaca3cbe2 (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/pos_hr')
| -rw-r--r-- | addons/pos_hr/static/tests/tours/PosHrTour.js | 2 | ||||
| -rw-r--r-- | addons/pos_hr/tests/test_frontend.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/pos_hr/static/tests/tours/PosHrTour.js b/addons/pos_hr/static/tests/tours/PosHrTour.js index df4cc2be6da..ca96f846df1 100644 --- a/addons/pos_hr/static/tests/tours/PosHrTour.js +++ b/addons/pos_hr/static/tests/tours/PosHrTour.js @@ -49,5 +49,5 @@ odoo.define('point_of_sale.tour.PosHr', function (require) { NumberPopup.do.clickConfirm(); ProductScreen.check.isShown(); - Tour.register('PosHrTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('PosHrTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_hr/tests/test_frontend.py b/addons/pos_hr/tests/test_frontend.py index 9afcd78897a..70b9fbd7268 100644 --- a/addons/pos_hr/tests/test_frontend.py +++ b/addons/pos_hr/tests/test_frontend.py @@ -43,11 +43,11 @@ class TestPosHrHttpCommon(TestPointOfSaleHttpCommon): @tagged("post_install", "-at_install") class TestUi(TestPosHrHttpCommon): def test_01_pos_hr_tour(self): - # open a session, the /pos/web controller will redirect to it + # open a session, the /pos/ui controller will redirect to it self.main_pos_config.open_session_cb(check_coa=False) self.start_tour( - "/pos/web?config_id=%d" % self.main_pos_config.id, + "/pos/ui?config_id=%d" % self.main_pos_config.id, "PosHrTour", login="admin", ) |
