on the webiste sale, have a category with a subcategory Then in the customize menu, enable "ecommerce categories" Before this commit, the option to have collapsible categories wasn't there This was because, due to multi_website, the children views of the "categories" that were inactive weren't written upon when copying their parent After this commit, the functionality is back OPW 1893169 closes odoo/odoo#27796