From f0a2af40b8bdd3d14b41d16afaeb0c678e97d7b9 Mon Sep 17 00:00:00 2001 From: Mitchell Admin Date: Wed, 2 Jun 2021 17:13:41 +0000 Subject: [PATCH] :arrow_up::one::four: OCA/odoo-module-migrator close #1377 > Made via .github/workflows/DINAR-PORT.yml --- pos_logout/__manifest__.py | 2 +- pos_logout/static/src/js/tour.js | 2 +- pos_logout/tests/test_default.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pos_logout/__manifest__.py b/pos_logout/__manifest__.py index f2575f2f6f..0f2fc0e14e 100644 --- a/pos_logout/__manifest__.py +++ b/pos_logout/__manifest__.py @@ -10,7 +10,7 @@ "category": "Point of Sale", # "live_test_url": "http://apps.it-projects.info/shop/product/pos-logout?version=13.0", "images": ["images/pos_logout_main.png"], - "version": "13.0.2.0.0", + "version": "14.0.2.0.0", "application": False, "author": "IT-Projects LLC, Dinar Gabbasov", "support": "apps@itpp.dev", diff --git a/pos_logout/static/src/js/tour.js b/pos_logout/static/src/js/tour.js index ad8e70f673..b518c19aa9 100644 --- a/pos_logout/static/src/js/tour.js +++ b/pos_logout/static/src/js/tour.js @@ -9,7 +9,7 @@ odoo.define("pos_logout.tour", function (require) { function pos_opening() { return [ - tour.STEPS.SHOW_APPS_MENU_ITEM, + tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"], .oe_menu_toggler[data-menu-xmlid="point_of_sale.menu_point_root"]', diff --git a/pos_logout/tests/test_default.py b/pos_logout/tests/test_default.py index 86aeead331..1dec0657c3 100644 --- a/pos_logout/tests/test_default.py +++ b/pos_logout/tests/test_default.py @@ -18,7 +18,7 @@ def test_01_pos_is_loaded(self): env["ir.module.module"].search( [("name", "=", "pos_logout")], limit=1 ).state = "installed" - self.phantom_js( + self.browser_js( "/web", "odoo.__DEBUG__.services['web_tour.tour']" ".run('pos_logout_tour')", "odoo.__DEBUG__.services['web_tour.tour']" ".tours.pos_logout_tour.ready",