diff --git a/website_sale_order_type/__manifest__.py b/website_sale_order_type/__manifest__.py index 6b8bc76a00..d60b35e9e8 100644 --- a/website_sale_order_type/__manifest__.py +++ b/website_sale_order_type/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Website sale order type", "summary": "This module allows sale_order_type to work with website_sale.", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "development_status": "Beta", "category": "Website", "website": "https://github.com/OCA/e-commerce", diff --git a/website_sale_order_type/static/src/js/website_sale_order_type_tour.js b/website_sale_order_type/static/src/js/website_sale_order_type_tour.js index 85680b6ee5..af9d0badfd 100644 --- a/website_sale_order_type/static/src/js/website_sale_order_type_tour.js +++ b/website_sale_order_type/static/src/js/website_sale_order_type_tour.js @@ -5,7 +5,6 @@ odoo.define("website_sale_order_type.tour", function (require) { "use strict"; var tour = require("web_tour.tour"); - var base = require("web_editor.base"); var steps = [ { @@ -15,8 +14,7 @@ odoo.define("website_sale_order_type.tour", function (require) { trigger: "#add_to_cart", }, { - trigger: "a[href='/shop/cart']", - extra_trigger: "sup.my_cart_quantity:contains('1')", + trigger: "button:contains('Proceed to Checkout')", }, { trigger: ".btn:contains('Process Checkout')", @@ -27,7 +25,6 @@ odoo.define("website_sale_order_type.tour", function (require) { { url: "/shop", test: true, - wait_for: base.ready(), }, steps ); diff --git a/website_sale_order_type/tests/test_website_sale_order_type.py b/website_sale_order_type/tests/test_website_sale_order_type.py index 1047b1af31..807ed44a46 100644 --- a/website_sale_order_type/tests/test_website_sale_order_type.py +++ b/website_sale_order_type/tests/test_website_sale_order_type.py @@ -1,8 +1,9 @@ # Copyright 2018 Simone Rubino - Agile Business Group # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo.tests import HttpCase +from odoo.tests import HttpCase, tagged +@tagged("post_install", "-at_install") class TestFrontend(HttpCase): def setUp(self): super(TestFrontend, self).setUp()