Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.64 MB
Module directory on disk
Code analysis 0 migration notes 4 models 11 views 5 HTTP endpoints

Description

This module was written to extend the functionality of product filtering on website. It will allow you to filter product based on its brand.

It also adds brand landing pages under /shop/brand/<brand-slug> with dedicated header and footer content per brand.

The module is multi-website aware: brand landing pages, brand listings, the website search index, and the sitemap only expose brands that belong to the current website (or are global). In the backend, the brand form and list view expose the Website field for users in website.group_multi_website so brands can be assigned to a specific website.

While shopping online, we have seen various eShops having a feature to shop by brands which ODOO does not yet provide officially. Website Sale Product Brand fills the gap at certain extent and by providing basic search by brands, thus reducing end-user’s efforts in searching the products he/she wants to purchase.

Dependencies

Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 11

XML IDNameModelTypeStatus
brand_filter_items Brand Filter Items ir.ui.view qweb New
categorie_link categorie_link ir.ui.view qweb Inherits website_sale.categorie_link
product_brands Brands ir.ui.view qweb New
product_title_brand_logo Product Page Brand Logo ir.ui.view qweb Inherits website_sale.product_title
res_config_settings_view_form res.config.settings form Inherits website_sale.res_config_settings_view_form
search_brands Search Box keeps brands ir.ui.view qweb Inherits website_sale.search
view_product_brand_form product.brand form Inherits product_brand.view_product_brand_form
view_product_brand_tree product.brand tree Inherits product_brand.view_product_brand_tree
website_sale_filter_brand_clear_filters Clear filters includes brands ir.ui.view qweb Inherits website_sale.products
website_sale_filter_brand_products_brands Brands Filter ir.ui.view qweb Inherits website_sale.products
website_sale_products_brand_landing website_sale_products_brand_landing ir.ui.view qweb Inherits website_sale.products

HTTP endpoints 5

Route(s)HandlerAuthTypeMethodsFlags
/shop/brand_filter/load_letter WebsiteSale.brand_filter_load_letter public jsonrpc ALL website
/shop/brand_filter/load_more WebsiteSale.brand_filter_load_more public jsonrpc ALL website
/page/product_brands WebsiteSale.product_brands public http ALL sudo website
/shop, /shop/page/<int:page>, /shop/category/<model("product.public.category"):category>, /shop/category/<model("product.public.category"):category>/page/<int:page>, /shop/brands WebsiteSale.shop public http ALL website
(inherited route override) WebsiteSale.shop_brand public http ALL website

Models touched 4

New fields (8)
  • align_brand_content Selection
    default='left' required=True selection=[('left', 'Left'), ('center', 'Center')]
  • cover_image Image
    max_height=2560 max_width=2560
  • published_products_count Integer
    compute='_compute_published_products_count'
  • show_brand_description Boolean
    default=True
  • show_brand_name Boolean
    default=True
  • show_without_published_products Boolean
    default=False
  • website_description Html
    translate=True
  • website_footer Html
    translate=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • brand_filter_display_mode Selection
    readonly=False related='website_id.brand_filter_display_mode'
Public methods (0)

No public methods.

New fields (1)
  • brand_filter_display_mode Selection
    default='list' help="Controls how brands are displayed in the shop filter: 'Full list' shows all brands, 'Limited list' shows the first 5 brands with an option to load more using 'Show more', and 'Alphabetical accordion' groups brands by letter when there are more than 50 brands." required=True selection=[('list', 'Full list'), ('limited', 'Limited list'), ('letters', 'Alphabetical accordion')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…