Page templates (views/website_pages.xml):
- Footer social icons pointed at facebook.com/youtube.com/instagram.com
homepages; now TNCSC's own profiles.
- "View Event" pointed at a static product mock-up; now /event.
- Home "Book Now", Events "Register Event" and the picnic page's
"Add To Cart" (which went to /contact) now open the real Summer Picnic
registration, falling back to /event if that event is missing.
- Home All/Event tabs were href="#"; now /event.
- About "Learn More" went to the contact form; relabelled "Contact Us".
- Benefits "Become A Member" now goes to /membership/registration.
Stock Odoo chrome on built-in pages (login, event/school registration):
- Footer replaced with a TNCSC footer (real links, company email, only
configured social profiles) instead of demo content with
info@yourcompany.example.com, a 555 number and dead "#" links. Priority
90 so it also wins over the website-specific footer copy on the server.
- Header "Contact Us" now goes to /contact; the demo phone number is
replaced by the company email.
community_portal: /my and /my/home (the "Member Login" target) returned a
500 for anonymous visitors because of this Odoo build's auth='user'
redirect bug; they now redirect to the login page.
website_pages.xml is noupdate, so upgrades never applied template fixes.
The 19.0.1.2.0 pre-migrate reloads it once in init mode (this overwrites
website-editor edits to those pages; none exist on the server).
Verified locally: upgrade of tncsc_site succeeds, every internal link on
16 pages resolves (200/30x), and a fresh install passes 34/34 tests for
community_membership, community_portal and tncsc_deployment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
community_membership:
- Tiers get a fixed-term period (term_years), minimum age, a
proof-document flag, a family-member flag and a signup description.
- Members get first/last name (composing the contact name), month and
year of birth with computed age, board approval state with
approve/reject buttons, terms acceptance, a proof-of-eligibility upload
and an inline family members list. Birth date and proof document are
restricted to Membership Managers.
- Constraints: plausible birth year; a tier's minimum age is enforced
when the birth year is known.
- Fix pre-existing tests that collided with deployment-seeded tier codes
and member ID format.
tncsc_deployment:
- Five Yes/No eligibility questions from the tncsc.com registration form
(manager-only), shown in an Eligibility section of the member form.
- Tiers now match tncsc.com/membership-registration: Annual/Family $30,
Long-Term (10 yr) $250, Life $500, Senior Annual (65+) $15, Senior Life
(60+) $250, Student Annual $10 (CAD).
- 19.0.1.1.0 post-migrate rewrites existing tiers (noupdate data) and
archives the unused Individual tier.
scripts/migrate_wp_members.py maps WordPress levels to the new LONG and
SENLIFE tiers. .mcp.json (holds credentials) is now gitignored.
Verified on the local Docker stack: -u on tncsc_site ran the migration
cleanly, and a fresh install with --test-enable passed 32/32 tests for
community_membership and tncsc_deployment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>