group_classifieds_moderator wasn't implied by anything an Administrator already has, so a standalone install of just this module (no deployment layer to seed role groups - the exact scenario this module's soft membership-detection is designed for) left the installing admin unable to see the Classifieds app or Moderation queue at all until someone manually granted the group. Make base.group_system imply group_classifieds_moderator instead, so every Odoo Administrator gets it automatically with zero extra wiring. Verified on a from-scratch database with only community_classifieds installed (community_membership and tncsc_deployment both uninstalled): admin's has_group() returns True and "Classifieds" appears in their app switcher immediately after install.
42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
{
|
|
'name': 'Community OS - Classifieds',
|
|
'version': '19.0.1.0.1',
|
|
'category': 'Website/Website',
|
|
'summary': 'Member-gated classifieds board with moderation queue and auto-expiry',
|
|
'description': """
|
|
Community OS - Classifieds
|
|
============================
|
|
|
|
A member-gated classifieds board:
|
|
|
|
* Public listing with search/filter, private posting for logged-in portal
|
|
users (requires active membership if Community OS Membership is installed)
|
|
* Admin moderation queue (publish / reject)
|
|
* Configurable auto-expiry, expiry-warning, and new-submission notifications
|
|
|
|
Soft-detects Community OS Membership; runs standalone without it.
|
|
""",
|
|
'author': 'Metatroncube Software Solutions LLP',
|
|
'website': 'https://www.metatroncube.com',
|
|
'license': 'LGPL-3',
|
|
'price': 0.00,
|
|
'currency': 'USD',
|
|
'depends': [
|
|
'website',
|
|
'portal',
|
|
],
|
|
'data': [
|
|
'security/classifieds_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/mail_templates.xml',
|
|
'data/ir_cron.xml',
|
|
'views/classified_views.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/classifieds_templates.xml',
|
|
],
|
|
'demo': [],
|
|
'images': ['static/description/banner.png'],
|
|
'application': True,
|
|
'installable': True,
|
|
}
|