Skip to content

Commit

Permalink
[MIG] website_sale_product_brand: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ntodorova committed Feb 13, 2024
1 parent e2c8a6b commit 44188ee
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 40 deletions.
2 changes: 1 addition & 1 deletion website_sale_product_brand/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Tecnativa, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/e-commerce",
"version": "16.0.1.0.1",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"depends": ["product_brand", "website_sale"],
"data": [
Expand Down
33 changes: 33 additions & 0 deletions website_sale_product_brand/static/src/js/tour.esm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/** @odoo-module **/
/* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */

import {registry} from "@web/core/registry";

const steps = [
{
trigger: "a[href='/page/product_brands']",
content: "Go to 'Product brand' page",
position: "bottom",
},
{
content: "search Apple",
trigger: 'form input[name="search"]',
run: "text Apple",
position: "bottom",
},
{
content: "Click to search Apple",
trigger: 'form:has(input[name="search"]) button',
position: "bottom",
},
{
content: "select Apple",
trigger: 'section a div:contains("Apple")',
},
];

registry.category("web_tour.tours").add("website_sale_product_brand", {
url: "/",
test: true,
steps: () => steps,
});
39 changes: 0 additions & 39 deletions website_sale_product_brand/static/src/js/tour.js

This file was deleted.

0 comments on commit 44188ee

Please sign in to comment.