Have one model of the category with a child-parent relationship with itself.
class product_public_cate (models.Model): _name = "product.public.category&q