Skip to content

Commit 7d6960b

Browse files
pilarvargas-tecnativaAlexgars73
authored andcommitted
[MIG] website_sale_product_brand: Migration to version 18.0
TT54392
1 parent 64003dc commit 7d6960b

7 files changed

Lines changed: 15 additions & 10 deletions

File tree

website_sale_product_brand/README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Configuration
4747

4848
In order to hide brands from the e-commerce:
4949

50-
1. Go to *Website > Settings > Products > Product brands*
50+
1. Go to *Website > eCommerce > Product brands*
5151
2. Click on the brand you want to unpublish.
5252
3. Click on the *Website published* smart button.
5353

@@ -106,6 +106,8 @@ Contributors
106106
- Sergio Teruel <sergio.teruel@tecnativa.com>
107107
- Alexandre Díaz
108108
- David Vidal
109+
- Carlos López
110+
- Pilar Vargas
109111

110112
Maintainers
111113
-----------

website_sale_product_brand/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Tecnativa, "
99
"Odoo Community Association (OCA)",
1010
"website": "https://github.com/OCA/e-commerce",
11-
"version": "17.0.1.0.0",
11+
"version": "18.0.1.0.0",
1212
"license": "AGPL-3",
1313
"depends": ["product_brand", "website_sale"],
1414
"data": [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
In order to hide brands from the e-commerce:
22

3-
1. Go to *Website \> Settings \> Products \> Product brands*
3+
1. Go to *Website \> eCommerce \> Product brands*
44
2. Click on the brand you want to unpublish.
55
3. Click on the *Website published* smart button.

website_sale_product_brand/readme/CONTRIBUTORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
> - Sergio Teruel \<<sergio.teruel@tecnativa.com>\>
99
> - Alexandre Díaz
1010
> - David Vidal
11+
> - Carlos López
12+
> - Pilar Vargas
13+

website_sale_product_brand/static/description/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ <h1 class="title">Product Brand Filtering in Website</h1>
395395
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
396396
<p>In order to hide brands from the e-commerce:</p>
397397
<ol class="arabic simple">
398-
<li>Go to <em>Website &gt; Settings &gt; Products &gt; Product brands</em></li>
398+
<li>Go to <em>Website &gt; eCommerce &gt; Product brands</em></li>
399399
<li>Click on the brand you want to unpublish.</li>
400400
<li>Click on the <em>Website published</em> smart button.</li>
401401
</ol>
@@ -452,6 +452,8 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
452452
<li>Sergio Teruel &lt;<a class="reference external" href="mailto:sergio.teruel&#64;tecnativa.com">sergio.teruel&#64;tecnativa.com</a>&gt;</li>
453453
<li>Alexandre Díaz</li>
454454
<li>David Vidal</li>
455+
<li>Carlos López</li>
456+
<li>Pilar Vargas</li>
455457
</ul>
456458
</blockquote>
457459
</li>

website_sale_product_brand/static/src/js/tour.esm.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/** @odoo-module **/
21
/* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */
32

43
import {registry} from "@web/core/registry";
@@ -10,18 +9,17 @@ registry.category("web_tour.tours").add("website_sale_product_brand", {
109
{
1110
trigger: "a[href='/page/product_brands']",
1211
content: "Go to 'Product brand' page",
13-
position: "bottom",
12+
run: "click",
1413
},
1514
{
1615
content: "search Apple",
1716
trigger: 'form input[name="search"]',
18-
run: "text Apple",
19-
position: "bottom",
17+
run: "edit Apple",
2018
},
2119
{
2220
content: "Click to search Apple",
2321
trigger: 'form:has(input[name="search"]) button',
24-
position: "bottom",
22+
run: "click",
2523
},
2624
{
2725
content: "select Apple",

website_sale_product_brand/views/product_brand.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</t>
6969
</template>
7070
<template id="categorie_link" inherit_id="website_sale.categorie_link">
71-
<xpath expr="//label[@t-field='c.name']/.." position="attributes">
71+
<xpath expr="//a[@t-field='c.name']/.." position="attributes">
7272
<attribute
7373
name="t-att-data-link-href"
7474
>keep('/shop/category/' + slug(c), category=0, brand=brand)</attribute>

0 commit comments

Comments
 (0)