Skip to content

Commit

Permalink
[MIG] website_sale_order_type: Migration to version 16.0
Browse files Browse the repository at this point in the history
TT44380
  • Loading branch information
pilarvargas-tecnativa committed Aug 10, 2023
1 parent 455f61d commit ea2a78c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website_sale_order_type/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand All @@ -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')",
Expand All @@ -27,7 +25,6 @@ odoo.define("website_sale_order_type.tour", function (require) {
{
url: "/shop",
test: true,
wait_for: base.ready(),
},
steps
);
Expand Down
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit ea2a78c

Please sign in to comment.