Skip to content

Require verified company senders for Odoo website bootstrap - #2487

Merged
cbusillo merged 2 commits into
mainfrom
work/cm-mail-company-sender-2485
Sep 24, 2026
Merged

cbusillo merged 2 commits into
mainfrom
work/cm-mail-company-sender-2485

Conversation

@shiny-code-app

Copy link
Copy Markdown
Contributor

A CM contact-form submission currently uses an empty company email, producing sender <False>. Add optional company_email to the existing Odoo website-bootstrap record and carry it into stable and preview runtime payloads. A requested sender now requires runtime readback, so an older artifact that ignores the field fails post-deploy instead of reporting success.

The value remains operator-supplied record data. Deploy this service support before adding the field to CM's records, then use an artifact containing the matching consumer in cbusillo/odoo-devkit#110. SMTP transport and credentials are configured separately; this PR sends no email and adds no grant.

Validation: all 3,577 Python test targets passed, plus Ruff, mypy (1,038 sources), 74 frontend tests, generated OpenAPI drift, and the frontend build. Regression coverage drives the shared post-deploy path with missing, false, and true sender evidence. PyCharm's final production-source assessment is RED with seven warnings on unchanged lines; the initial broader assessment also found existing Click-test typing warnings. Owned projects closed with no source mutation. This is not an IDE-green claim.

Anthropic claude-opus-5-5[1m] reviewed the change and follow-up. The missing-runtime-proof finding is fixed; email-list validation and rollout-order documentation were tightened. Follow-up found no blocking/medium defect. Its additional caller-test suggestion was not adopted because the regression exercises the shared function used by both callers; existing failure diagnostics remain consistent with the surrounding driver.

Refs #2485

@shiny-code-app shiny-code-app Bot added the ready-to-merge Every Code PR is ready for repository owner merge review label Sep 24, 2026
cbusillo added a commit that referenced this pull request Sep 24, 2026
@cbusillo
cbusillo merged commit 6c1a122 into main Sep 24, 2026
33 checks passed
@cbusillo
cbusillo deleted the work/cm-mail-company-sender-2485 branch September 24, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Every Code PR is ready for repository owner merge review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants