Skip to content

Persist controller-route website homepage bootstrap#36

Merged
cbusillo merged 1 commit into
mainfrom
code/persist-controller-homepage-bootstrap
May 10, 2026
Merged

Persist controller-route website homepage bootstrap#36
cbusillo merged 1 commit into
mainfrom
code/persist-controller-homepage-bootstrap

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented May 10, 2026

Summary

  • persist controller-route homepage intent into website.homepage_url when Odoo exposes that field
  • clear stale homepage_id when the configured homepage is a controller route rather than a website.page
  • add a fake-Odoo regression test for the OPW-style /shop bootstrap path

Refs #34

Validation

  • uv run python -m unittest tests.test_odoo_website_bootstrap.WebsiteBootstrapHelperTests.test_controller_homepage_route_persists_homepage_url_and_clears_stale_page_homepage
  • uv run ruff check --diff docker/scripts/odoo_website_bootstrap.py tests/test_odoo_website_bootstrap.py
  • uv run ruff check docker/scripts/odoo_website_bootstrap.py tests/test_odoo_website_bootstrap.py
  • uv run python -m unittest discover -s tests
  • uv run python -m py_compile docker/scripts/odoo_website_bootstrap.py
  • uv run ruff format --check .
  • uv run ruff check .
  • uv build

@cbusillo cbusillo merged commit bae74b9 into main May 10, 2026
4 checks passed
@cbusillo cbusillo deleted the code/persist-controller-homepage-bootstrap branch May 10, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant