-
-
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_require_legal: Migration to version 17.0
TT51564
- Loading branch information
1 parent
65372b1
commit fe6ce73
Showing
4 changed files
with
11 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,11 @@ | |
* Copyright 2023 Pilar Vargas <[email protected]> | ||
* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ | ||
|
||
odoo.define("website_sale_require_legal.tour", function (require) { | ||
"use strict"; | ||
|
||
var tour = require("web_tour.tour"); | ||
|
||
var steps = [ | ||
import {registry} from "@web/core/registry"; | ||
registry.category("web_tour.tours").add("website_sale_require_legal", { | ||
test: true, | ||
url: "/shop", | ||
steps: () => [ | ||
{ | ||
trigger: '.oe_product_cart a:contains("Customizable")', | ||
}, | ||
|
@@ -67,18 +66,5 @@ odoo.define("website_sale_require_legal.tour", function (require) { | |
{ | ||
trigger: 'button[name="o_payment_submit_button"]', | ||
}, | ||
]; | ||
|
||
tour.register( | ||
"website_sale_require_legal", | ||
{ | ||
url: "/shop", | ||
test: true, | ||
}, | ||
steps | ||
); | ||
|
||
return { | ||
steps: steps, | ||
}; | ||
], | ||
}); |
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