Skip to content

Commit

Permalink
[MIG] website_sale_product_brand: Migration to version 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-lopez-tecnativa committed Jan 15, 2025
1 parent b0ea4de commit bfad667
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
4 changes: 2 additions & 2 deletions 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 All @@ -26,7 +26,7 @@
"/website_sale_product_brand/static/src/scss/website_sale_product_brand.scss"
],
"web.assets_tests": [
"/website_sale_product_brand/static/src/js/tour.js",
"/website_sale_product_brand/static/src/js/tour.esm.js",
],
},
"installable": True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/** @odoo-module **/
/* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */

odoo.define("website_sale_product_brand.tour", function (require) {
"use strict";
import {registry} from "@web/core/registry";

var tour = require("web_tour.tour");

var steps = [
registry.category("web_tour.tours").add("website_sale_product_brand", {
test: true,
url: "/",
steps: () => [
{
trigger: "a[href='/page/product_brands']",
content: "Go to 'Product brand' page",
Expand All @@ -26,14 +27,5 @@ odoo.define("website_sale_product_brand.tour", function (require) {
content: "select Apple",
trigger: 'section a div:contains("Apple")',
},
];

tour.register(
"website_sale_product_brand",
{
url: "/",
test: true,
},
steps
);
],
});

0 comments on commit bfad667

Please sign in to comment.