OdooWiki OCA HUB

Website Event Membership Restriction

website_event_membership_restriction folder_open OCA/event open_in_new
Website License: LGPL-3

This module allows you to restrict event registration to members only.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you mark an event as members-only so that non-members cannot register on the website. Visitors who are not members see the registration button disabled with a 'Members only' link.

This module adds a members-only option to events and enforces it on the public website.

  • On the event form (in the Events app), a new checkbox 'Registration membership only' appears near the responsible person. When ticked, the event is reserved for members.
  • On the website event page, the registration button is automatically disabled for visitors who are not logged in or whose membership status is neither 'paid' nor 'free'. A small 'Members only' link is shown next to the button, pointing to a new page at /membership-info.
  • That page is a simple website page titled 'Membership Information' explaining that the event is exclusive for members of the association and inviting visitors to contact staff for help. It is published by default and can be edited like any other website page.
  • The module also shows a small note '(only X available)' next to the registration button when seats are limited and fewer than 20% of the maximum seats remain.

It touches the event.event model and the website event registration template. No automatic emails, scheduled jobs or extra checks are added beyond the button being disabled.

Depends on

website_eventmembership
Models and fields (1)
  • event.event · extends an existing modelregistration_membership_only

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Events \> Events
  • Create or select one event.
  • Check or uncheck "Allow registration only to members".
  • Go to the website.
  • Go to "Events" section and select one of them.
  • If the option ‘allow members only’ is active and the user is not a member or not logged in, he/she will not be able to access the event registration.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.