add portal_event_registration
This commit is contained in:
parent
18fd73ed1b
commit
de0520d5a8
9 changed files with 393 additions and 0 deletions
3
portal_event_registration/models/__init__.py
Normal file
3
portal_event_registration/models/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import event_registration
|
||||
11
portal_event_registration/models/event_registration.py
Normal file
11
portal_event_registration/models/event_registration.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class EventRegistration(models.Model):
|
||||
_inherit = "event.registration"
|
||||
|
||||
# Allow portal users (who only have read access) to post messages
|
||||
# and upload attachments via the portal chatter.
|
||||
_mail_post_access = "read"
|
||||
Loading…
Add table
Add a link
Reference in a new issue