-
-
Notifications
You must be signed in to change notification settings - Fork 493
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_checkout_skip_payment: Migration to 18.0
TT51372
- Loading branch information
1 parent
18e2bae
commit 3ba3e1c
Showing
13 changed files
with
112 additions
and
159 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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from . import website | ||
from . import res_partner | ||
from . import res_config_settings | ||
from . import res_partner | ||
from . import website |
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
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
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
33 changes: 33 additions & 0 deletions
33
...e_checkout_skip_payment/static/tests/tours/website_sale_checkout_skip_payment_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,33 @@ | ||
/** @odoo-module **/ | ||
|
||
import {registry} from "@web/core/registry"; | ||
import * as tourUtils from "@website_sale/js/tours/tour_utils"; | ||
|
||
registry.category("web_tour.tours").add("website_sale_checkout_skip_payment", { | ||
url: "/shop", | ||
steps: () => [ | ||
...tourUtils.searchProduct("Storage Box"), | ||
{ | ||
content: "select Storage Box", | ||
trigger: '.oe_product_cart:first a:contains("Storage Box")', | ||
run: "click", | ||
}, | ||
{ | ||
content: "click on add to cart", | ||
trigger: '#product_detail form[action^="/shop/cart/update"] #add_to_cart', | ||
run: "click", | ||
}, | ||
tourUtils.goToCart({quantity: 1}), | ||
tourUtils.goToCheckout(), | ||
tourUtils.confirmOrder(), | ||
{ | ||
content: "Confirm order", | ||
trigger: "a.a-submit[href='#']:contains('Confirm')", | ||
run: "click", | ||
}, | ||
{ | ||
content: "Print order", | ||
trigger: "a[href='/shop/print']", | ||
}, | ||
], | ||
}); |
47 changes: 0 additions & 47 deletions
47
..._sale_checkout_skip_payment/static/tests/tours/website_sale_checkout_skip_payment_tour.js
This file was deleted.
Oops, something went wrong.
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
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
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