Skip to content

Commit

Permalink
[MIG] website_sale_product_brand: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-S73 committed Jan 30, 2023
1 parent 30024bc commit 44ca0bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion website_sale_product_brand/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Product Brand Filtering in Website
:target: https://runbot.odoo-community.org/runbot/113/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
|badge1| |badge2| |badge3| |badge4| |badge5|

This module was written to extend the functionality of product filtering on website.
It will allow you to filter product based on its brand.
Expand Down Expand Up @@ -99,6 +99,9 @@ Contributors
* Sergio Teruel <[email protected]>
* Alexandre Díaz
* David Vidal
* `Studio73 <https://www.studio73.es>`_:

* Miguel Gandia <[email protected]>

Maintainers
~~~~~~~~~~~
Expand Down
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": "15.0.1.0.0",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["product_brand", "website_sale"],
"data": [
Expand Down
2 changes: 1 addition & 1 deletion website_sale_product_brand/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def shop(
if brand:
context = dict(request.context)
context.setdefault("brand_id", int(brand))
request.context = context
request.update_context(**context)
return super().shop(
page=page,
category=category,
Expand Down
2 changes: 1 addition & 1 deletion website_sale_product_brand/views/product_brand_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
name="Product Brands"
id="menu_product_brand"
action="product_brand.action_product_brand"
parent="website_sale.menu_product_settings"
parent="website_sale.menu_catalog"
/>
</odoo>

0 comments on commit 44ca0bf

Please sign in to comment.