-
-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] website_sale_order_type: Migration to 17.0
- Loading branch information
Showing
4 changed files
with
33 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
website_sale_order_type/static/src/js/website_sale_order_type_tour.js
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
website_sale_order_type/static/src/tests/tours/website_sale_order_type_tour.esm.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* Copyright 2020 Tecnativa - João Marques | ||
* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ | ||
|
||
import {registry} from "@web/core/registry"; | ||
|
||
registry.category("web_tour.tours").add("website_sale_order_type_tour", { | ||
test: true, | ||
url: "/shop", | ||
steps: () => [ | ||
{ | ||
trigger: ".oe_product_cart a:contains('Test Product SO Type')", | ||
}, | ||
// { | ||
// trigger: "#add_to_cart", | ||
// }, | ||
// { | ||
// trigger: "a[href='/shop/cart']", | ||
// extra_trigger: "sup.my_cart_quantity:contains('1')", | ||
// }, | ||
// { | ||
// trigger: ".btn:contains('Process Checkout')", | ||
// }, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters