Website Snippet Product Category
website_snippet_product_category · OCA/e-commerce
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
1 model
7 views
1 HTTP endpoint
Description
Adds a new snippet to show e-commerce categories.
A category is only displayed if it and all of its parent categories are explicitly enabled for the snippet, and can optionally be restricted to selected websites.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/website_sale/render_product_category |
Website.render_product_category |
public | jsonrpc | ALL | website |
Models touched 1
New fields (2)
-
published_in_product_category_snippetBooleancopy=False args: 'Published in product category snippet' -
snippet_website_idsMany2many → websitecopy=Falsehelp='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'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…