Repository
OCA/e-commerce · module folder · Try on Runboat
Module version
1.1.1
Category
Website
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/e-commerce
Last tracking update
2026-08-07 08:42:55
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
pilarvargas-tecnativa, Pilar Vargas, Weblate, OCA-git-bot, oca-ci, Kimkhoi3010
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
Adds a new snippet to show e-commerce categories.

The snippet only displays categories explicitly enabled for it, and can
optionally restrict them to selected websites.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
product_public_category_form_view public.category.form product.public.category form Inherits website_sale.product_public_category_form_view
product_public_category_tree_view product.public.category.tree product.public.category tree Inherits website_sale.product_public_category_tree_view
s_product_category Product Category ir.ui.view qweb New
s_product_category_items s_product_category_items ir.ui.view qweb New
s_product_category_items_recursive s_product_category_items_recursive ir.ui.view qweb New
s_product_category_options s_product_category_options ir.ui.view qweb Inherits website.snippet_options
snippet_product_category_demo_view Snippet Product Category Test ir.ui.view qweb New
snippets snippets ir.ui.view qweb Inherits website.snippets
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/website_sale/render_product_category Website.render_product_category public json ALL website
Models touched (1)

New fields (2)
  • published_in_product_category_snippet Boolean
    copy=False args: 'Published in product category snippet'
  • snippet_website_ids Many2many → website
    copy=False help='Show this category in the product category snippet only on the selected websites. Leave empty to show it on all websites.' string='Websites for category snippet' args: 'website', 'product_public_category_snippet_website_rel', 'product_public_category_id', 'website_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
3 days ago
Last activity
1 day ago
Repository
OCA/e-commerce
Pull request
[19.0][MIG] website_snippet_product_category: Migration to version 19.0 (#1288)