Skip to content

Fix Odoo post-deploy website bootstrap#63

Merged
cbusillo merged 1 commit into
mainfrom
fix-post-deploy-installs-configured-modules
Jun 13, 2026
Merged

Fix Odoo post-deploy website bootstrap#63
cbusillo merged 1 commit into
mainfrom
fix-post-deploy-installs-configured-modules

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • install configured Odoo modules during post-deploy maintenance before updating existing modules
  • normalize website.domain to the bare hostname while keeping web.base.url as the full canonical URL
  • add focused tests for post-deploy maintenance ordering and website domain normalization

Validation

  • uv run python -m unittest tests.test_odoo_data_workflows.OdooDataWorkflowShellEnvironmentTests.test_post_deploy_maintenance_runs_overrides_and_service_user_provisioning tests.test_odoo_website_bootstrap.WebsiteBootstrapHelperTests
  • uv run ruff check --diff docker/scripts/run_odoo_data_workflows.py docker/scripts/odoo_website_bootstrap.py tests/test_odoo_data_workflows.py tests/test_odoo_website_bootstrap.py
  • uv run ruff check docker/scripts/run_odoo_data_workflows.py docker/scripts/odoo_website_bootstrap.py tests/test_odoo_data_workflows.py tests/test_odoo_website_bootstrap.py

Supports the cm_website/testing fixture proof: post-deploy included website_bootstrap but /cell-mechanic remained 404 because the runtime must install the configured tenant module and bind the website to the request Host.

@cbusillo cbusillo merged commit 4c6fa6f into main Jun 13, 2026
4 checks passed
@cbusillo cbusillo deleted the fix-post-deploy-installs-configured-modules branch June 13, 2026 14:47
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