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>
54 lines
1.8 KiB
Python
54 lines
1.8 KiB
Python
{
|
|
'name': 'Community OS - Membership',
|
|
'version': '19.0.1.1.0',
|
|
'category': 'Sales/Members',
|
|
'summary': 'Configurable membership tiers, family grouping, renewals, QR membership card and self-service portal',
|
|
'description': """
|
|
Community OS - Membership
|
|
===========================
|
|
|
|
A fully generic membership engine for community and cultural organizations:
|
|
|
|
* Admin-configurable membership tiers (name, price, period) - never hardcoded
|
|
* Family grouping and auto-generated member IDs (configurable format)
|
|
* Automated renewal reminders, expiry handling, and draft renewal invoices
|
|
* Self-service member portal (status, tier, expiry, renew, download card)
|
|
* QR-coded membership card (PDF) with a public verification endpoint
|
|
|
|
No client names, prices, or branding are hardcoded - everything is a
|
|
configuration record managed by the deployment layer.
|
|
""",
|
|
'author': 'Metatroncube Software Solutions LLP',
|
|
'website': 'https://www.metatroncube.com',
|
|
'license': 'LGPL-3',
|
|
'price': 0.00,
|
|
'currency': 'USD',
|
|
'depends': [
|
|
'contacts',
|
|
'account',
|
|
'portal',
|
|
'website',
|
|
],
|
|
'data': [
|
|
'security/membership_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/ir_sequence.xml',
|
|
'data/mail_templates.xml',
|
|
'data/ir_cron.xml',
|
|
'report/membership_card_report.xml',
|
|
'views/membership_tier_views.xml',
|
|
'views/res_partner_views.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/membership_menus.xml',
|
|
'views/portal_templates.xml',
|
|
'views/membership_verify_templates.xml',
|
|
],
|
|
'demo': [],
|
|
'images': ['static/description/banner.png'],
|
|
'application': True,
|
|
'installable': True,
|
|
'external_dependencies': {
|
|
'python': ['qrcode'],
|
|
},
|
|
}
|