metatroncubeswdev 24be6360e2 feat(tncsc_deployment): migrate real tncsc.com content into the website pages
Replaces the Phase 7 "content to be finalized" placeholder pages with
TNCSC's actual site content (captured 2026-08-20), verified against a
live Odoo container on a dedicated fresh database (tncsc_site):

- Home, About, About/Tamil Nadu, About/Board of Directors (12 real
  members), Membership hub, Membership Benefits, Tamil Class, and
  Contact pages, with nav restructured to match tncsc.com's real
  structure (About and Membership as dropdowns).
- Real images downloaded from tncsc.com and self-hosted under
  static/src/img/ instead of hotlinking the WordPress site.
- Home's "Upcoming Events" and the membership pricing tables are wired
  to live event.event / community.membership.tier records instead of
  being static copies; Tamil Class links to the real /school/register
  flow. One real event seeded (Summer Picnic 2026).
- Deliberately not reproduced: tncsc.com's own Sponsors page and Contact
  phone number are unmigrated WordPress theme demo placeholders on the
  live site itself (generic client-01..09 logos, a non-Canadian demo
  number) - confirmed by inspection, not assumed. Contact page uses the
  real, verified email and social links instead.
- post_init_hook now also fixes two Odoo website Copy-On-Write gotchas
  that silently prevented the new homepage and nav dropdowns from
  rendering at all (auto-forked per-website duplicates winning over
  this module's records) - see HANDOFF.md for the full explanation.
2026-08-20 12:32:59 -04:00

20 lines
935 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<!-- Real upcoming event, matching what's live on tncsc.com/events (2026-08-20).
Update/replace once TNCSC confirms the venue address. -->
<record id="partner_summer_picnic_venue" model="res.partner">
<field name="name">Mississauga, Ontario</field>
<field name="city">Mississauga</field>
<field name="state_id" ref="base.state_ca_on"/>
<field name="country_id" ref="base.ca"/>
<field name="type">other</field>
</record>
<record id="event_summer_picnic_2026" model="event.event">
<field name="name">TNCSC's Summer Picnic 2026</field>
<field name="date_begin" eval="'2026-07-11 14:00:00'"/>
<field name="date_end" eval="'2026-07-11 20:00:00'"/>
<field name="address_id" ref="partner_summer_picnic_venue"/>
<field name="website_published">True</field>
</record>
</odoo>