metatroncubeswdev 522e2cfba9
Some checks failed
CI / Brand-leak check (push) Has been cancelled
CI / flake8 / pylint-odoo / manifest completeness (push) Has been cancelled
CI / Install all modules with --test-enable (push) Has been cancelled
Fix broken and placeholder links across the TNCSC website
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>
2026-09-27 13:42:20 -04:00

84 lines
3.1 KiB
Python

{
'name': 'TNCSC Deployment',
'version': '19.0.1.2.0',
'category': 'Hidden',
'summary': 'Tamil Nadu Cultural Society of Canada - client configuration for the Community OS suite',
'description': """
TNCSC Deployment
==================
Deployment layer for the Tamil Nadu Cultural Society of Canada (TNCSC).
This module contains DATA ONLY - no models, no business logic. It seeds:
* Branding (Community OS Theme Base settings)
* Membership tiers and prices
* Chart of accounts and journals for a Canadian non-profit
* Bilingual (EN/Tamil) email template overrides
* Website pages
* User groups and access rules
All client-specific values (names, prices, colours, account codes, email
copy) live only in this module. It is exempt from the brand-leak CI check
that applies to the community_* product modules.
""",
'author': 'Metatroncube Software Solutions LLP',
'website': 'https://www.metatroncube.com',
'license': 'LGPL-3',
'depends': [
'community_theme_base',
'community_membership',
'event_qr_ticketing',
'community_school',
'community_classifieds',
'community_benefits',
'community_interac',
'community_portal',
'l10n_ca',
],
'data': [
'security/tncsc_roles.xml',
'data/res_company_data.xml',
'data/theme_data.xml',
'data/membership_data.xml',
'data/mail_template_overrides.xml',
'data/events_data.xml',
'data/ir_cron.xml',
'views/res_partner_views.xml',
'views/website_pages.xml',
'views/website_header_overrides.xml',
'views/browser_branding.xml',
'views/event_kanban_views.xml',
'views/community_dashboard_views.xml',
'views/login_templates.xml',
],
'demo': [],
'assets': {
'web._assets_primary_variables': [
'tncsc_deployment/static/src/scss/primary_variables.scss',
],
'web.assets_frontend': [
'tncsc_deployment/static/src/js/favicon.js',
'tncsc_deployment/static/src/scss/login_theme.scss',
'tncsc_deployment/static/src/scss/website_navigation.scss',
],
'web.assets_backend': [
'tncsc_deployment/static/src/js/favicon.js',
'tncsc_deployment/static/src/scss/tncsc_backend_theme.scss',
'tncsc_deployment/static/src/scss/event_kanban.scss',
'tncsc_deployment/static/src/scss/community_dashboard.scss',
'tncsc_deployment/static/src/scss/login_theme.scss',
'tncsc_deployment/static/src/js/event_kanban_renderer.js',
'tncsc_deployment/static/src/js/community_dashboard.js',
'tncsc_deployment/static/src/js/global_sidebar.js',
'tncsc_deployment/static/src/js/browser_branding.js',
'tncsc_deployment/static/src/xml/kanban_empty_column.xml',
'tncsc_deployment/static/src/xml/community_dashboard.xml',
'tncsc_deployment/static/src/xml/global_sidebar.xml',
],
},
'application': False,
'installable': True,
'post_init_hook': 'post_init_hook',
}