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_restaurant/static/tests | |
| 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_restaurant/static/tests')
7 files changed, 8 insertions, 8 deletions
diff --git a/addons/pos_restaurant/static/tests/tours/ControlButtons.tour.js b/addons/pos_restaurant/static/tests/tours/ControlButtons.tour.js index f26d4f79b29..3b6e499a97a 100644 --- a/addons/pos_restaurant/static/tests/tours/ControlButtons.tour.js +++ b/addons/pos_restaurant/static/tests/tours/ControlButtons.tour.js @@ -44,5 +44,5 @@ odoo.define('pos_restaurant.tour.ControlButtons', function (require) { BillScreen.check.isShown(); BillScreen.do.clickBack(); - Tour.register('ControlButtonsTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('ControlButtonsTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/FloorScreen.tour.js b/addons/pos_restaurant/static/tests/tours/FloorScreen.tour.js index 93a7a2c8ea6..f4e12080305 100644 --- a/addons/pos_restaurant/static/tests/tours/FloorScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/FloorScreen.tour.js @@ -105,5 +105,5 @@ odoo.define('pos_restaurant.tour.FloorScreen', function (require) { FloorScreen.do.clickTable('T1'); Chrome.check.backToFloorTextIs('Second Floor', 'T1'); - Tour.register('FloorScreenTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('FloorScreenTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/OrderManagementScreen.tour.js b/addons/pos_restaurant/static/tests/tours/OrderManagementScreen.tour.js index 5cedaba0a14..cac1822f4af 100644 --- a/addons/pos_restaurant/static/tests/tours/OrderManagementScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/OrderManagementScreen.tour.js @@ -120,5 +120,5 @@ odoo.define('pos_restaurant.tour.OrderManagementScreen', function (require) { ProductScreen.check.totalAmountIs('44'); Chrome.check.backToFloorTextIs('Main Floor', 'T2'); - Tour.register('PosResOrderManagementScreenTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('PosResOrderManagementScreenTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/SplitBillScreen.tour.js b/addons/pos_restaurant/static/tests/tours/SplitBillScreen.tour.js index cf09ebf0a4b..8b9c0f7d6e0 100644 --- a/addons/pos_restaurant/static/tests/tours/SplitBillScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/SplitBillScreen.tour.js @@ -48,5 +48,5 @@ odoo.define('pos_restaurant.tour.SplitBillScreen', function (require) { ProductScreen.do.clickOrderline('Water', '2.0') ProductScreen.do.clickOrderline('Minute Maid', '3.0') - Tour.register('SplitBillScreenTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('SplitBillScreenTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js b/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js index 790ae060777..6f176d84173 100644 --- a/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/TicketScreen.tour.js @@ -40,5 +40,5 @@ odoo.define('pos_restaurant.tour.TicketScreen', function (require) { ProductScreen.check.totalAmountIs('2.0'); Chrome.check.backToFloorTextIs('Main Floor', 'T2'); - Tour.register('PosResTicketScreenTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('PosResTicketScreenTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/TipScreen.tour.js b/addons/pos_restaurant/static/tests/tours/TipScreen.tour.js index 0cbc2d63fad..430c7a2f12c 100644 --- a/addons/pos_restaurant/static/tests/tours/TipScreen.tour.js +++ b/addons/pos_restaurant/static/tests/tours/TipScreen.tour.js @@ -119,5 +119,5 @@ odoo.define('pos_restaurant.tour.TipScreen', function (require) { PaymentScreen.do.clickValidate(); ReceiptScreen.check.isShown(); - Tour.register('PosResTipScreenTour', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('PosResTipScreenTour', { test: true, url: '/pos/ui' }, getSteps()); }); diff --git a/addons/pos_restaurant/static/tests/tours/pos_restaurant.js b/addons/pos_restaurant/static/tests/tours/pos_restaurant.js index 252e9834e63..03b7c86e572 100644 --- a/addons/pos_restaurant/static/tests/tours/pos_restaurant.js +++ b/addons/pos_restaurant/static/tests/tours/pos_restaurant.js @@ -64,7 +64,7 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi // There should be 1 synced draft order. FloorScreen.check.orderCountSyncedInTableIs('T5', '1'); - Tour.register('pos_restaurant_sync', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('pos_restaurant_sync', { test: true, url: '/pos/ui' }, getSteps()); startSteps(); @@ -104,5 +104,5 @@ odoo.define('pos_reataurant.tour.synchronized_table_management', function (requi Chrome.do.backToFloor(); FloorScreen.check.orderCountSyncedInTableIs('T4', '1'); - Tour.register('pos_restaurant_sync_second_login', { test: true, url: '/pos/web' }, getSteps()); + Tour.register('pos_restaurant_sync_second_login', { test: true, url: '/pos/ui' }, getSteps()); }); |
