Website Sale - Hide Empty Categories

website_sale_hide_empty_category
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/18.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Pilar Vargas
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - payment
    - website_payment
    - website_mail
    - portal_rating
    - rating
    - delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Removes any category links from the Shop which have no products
associated to them.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hide_categories_collapse_recursive Hide Empty Category Collapsible list ir.ui.view qweb Inherits website_sale.option_collapse_categories_recursive
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
hide_categories_recursive_helper Hide Empty Category list ir.ui.view qweb Inherits website_sale.products_categories_list
hide_filmstrip_categories Hide Empty Category Filmstrip ir.ui.view qweb Inherits website_sale.filmstrip_categories
Models touched (1)

New fields (1)
  • has_product_recursive Boolean
    compute='_compute_has_product_recursive' recursive=True string='This category or one of its children has products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/17.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Pilar Vargas
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - payment
    - website_payment
    - website_mail
    - portal_rating
    - rating
    - delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Removes any category links from the Shop which have no products
associated to them.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hide_categories_collapse_recursive Hide Empty Category Collapsible list ir.ui.view qweb Inherits website_sale.option_collapse_categories_recursive
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
hide_categories_recursive_helper Hide Empty Category list ir.ui.view qweb Inherits website_sale.products_categories_list
hide_filmstrip_categories Hide Empty Category Filmstrip ir.ui.view qweb Inherits website_sale.filmstrip_categories
Models touched (1)

New fields (1)
  • has_product_recursive Boolean
    compute='_compute_has_product_recursive' recursive=True string='This category or one of its children has products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/15.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSPedro M. Baeza, OCA-git-bot, oca-ci, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:31
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - sale
    - sales_team
    - payment
    - account
    - product
    - uom
    - analytic
    - website_payment
    - website_mail
    - portal_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
hide_categories_collapse_recursive Hide Empty Category Collapsible list ir.ui.view qweb Inherits website_sale.option_collapse_categories_recursive
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
hide_categories_recursive_helper Hide Empty Category list ir.ui.view qweb Inherits website_sale.products_categories
Models touched (1)

New fields (1)
  • has_product_recursive Boolean
    compute='_compute_has_product_recursive' recursive=True string='This category or one of its children has products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/14.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ilyas
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - sale
    - sales_team
    - payment
    - account
    - product
    - uom
    - analytic
    - utm
    - website_payment
    - website_mail
    - website_form
    - google_recaptcha
    - portal_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
hide_categories_collapse_recursive Hide Empty Category Collapsible list ir.ui.view qweb Inherits website_sale.option_collapse_categories_recursive
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
hide_categories_recursive_helper Hide Empty Category list ir.ui.view qweb Inherits website_sale.products_categories
Models touched (1)

New fields (1)
  • has_product_recursive Boolean
    compute='_compute_has_product_recursive' string='This category or one of its children has products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/13.0/website_sale_hide_empty_category
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Carlos Roca, Radovan Skolnik
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
    - auth_signup
    - social_media
    - sale
    - sales_team
    - payment
    - account
    - product
    - uom
    - analytic
    - digest
    - resource
    - utm
    - website_payment
    - website_mail
    - website_form
    - website_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
hide_categories_collapse_recursive Hide Empty Category Collapsible list ir.ui.view qweb Inherits website_sale.option_collapse_categories_recursive
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
hide_categories_recursive_helper Hide Empty Category list ir.ui.view qweb Inherits website_sale.products_categories
Models touched (1)

New fields (1)
  • has_product_recursive Boolean
    compute='_compute_has_product_recursive' string='This category or one of its children has products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/12.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Wolfgang Pichler
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
    - social_media
    - sale
    - sales_team
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - digest
    - website_payment
    - website_mail
    - website_form
    - website_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
Models touched (1)

New fields (1)
  • product_ids Many2many → product.template
    column1='product_public_category_id' column2='product_template_id' comodel_name='product.template' relation='product_public_category_product_template_rel' string='Products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/11.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSOCA-git-bot, Rémy Taymans
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
    - sale_payment
    - payment
    - account
    - product
    - decimal_precision
    - analytic
    - sale
    - sales_team
    - website_payment
    - website_mail
    - website_form
    - website_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
Models touched (1)

New fields (1)
  • product_ids Many2many → product.template
    column1='product_public_category_id' column2='product_template_id' comodel_name='product.template' relation='product_public_category_product_template_rel' string='Products'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/website
GIT
GIThttps://github.com/OCA/website.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website/tree/10.0/website_sale_hide_empty_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSDave Lasley, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://laslabs.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - portal_sale
    - portal
    - auth_signup
    - website_mail
    - website_form
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hide_categories_recursive Hide Empty Category list ir.ui.view qweb Inherits website_sale.categories_recursive
Models touched (1)

New fields (1)
  • product_ids Many2many → product.template
    column1='product_public_category_id' column2='product_template_id' comodel_name='product.template' relation='product_public_category_product_template_rel' string='Products'
Public methods (0)

No public methods.