odoo/odoo#224247

Created by Rushil Patel (rusp)

Blocked

  • Merge method
  • Review
  • CI
label
odoo-dev:master-imp-website-parent-page-breadcrumb-rusp
head
1a9ec211a5fb8e41e7de86c92111808818a28e67
odoo/odoo
master #224247 missing r+

[IMP] website: add breadcrumb feature to website page

This PR introduces breadcrumb support on website pages and generalizes existing page options (previously only used for the header) so they can also be applied to breadcrumbs.

Key Changes:
- Allow adding breadcrumbs by setting a parent page under Site -> Properties.
- Prevent circular breadcrumb references by restricting the parent selection domain (a page cannot be set its own parent, nor can it select its descendant as parent).
- Prevent assigning parent pages to the Homepage (Homepage cannot have breadcrumbs).
- Supports multi-level hierarchies but only show the last two parents plus the current page for simplicity (Grandparent / Parent / Child).
- Breadcrumb options behave like header options:
- Changes are applied globally across pages.
- Like the header, a background color can be set for breadcrumbs,
and they share the same visibility options (Regular,
Over the content, or Hidden) for consistency.

task-3791063