Skip to Content
Menu
This question has been flagged
3 Replies
3824 Views

Hi all, I'm using Odoo 10 community on Ubuntu, I've added the "Online Events" module and created an event, however when I log out of Odoo and attempt to register for a particular event I receive a "403: Forbidden" page in place of the registration. I can see the event I just cant register.

If I am logged in with my admin account it works fine, I've tried un-publishing and re-publishing it but same issue.

Is there somewhere where I can amend permissions on events?

Avatar
Discard

was this solved? I'm having the same issue.

Best Answer

There is a bug in website_event/controllers/main.py. It was fixed some time after 06/2018:

the event_register method at line 167 should look like this:

def event_register(self, event, **post):
values = {
'event': event,
'main_object': event,
'range': range,
'registrable': event.sudo()._is_event_registrable()
}
return request.render("website_event.event_description_full", values)

The problem is caused if that little sudo() is missing.

Avatar
Discard
Best Answer

Hello Costas Pavlou,

I think There is more than one database, when you logout out of Odoo the session will be clear. Try to set db-filter to particular db.

Avatar
Discard
Best Answer

There is an option to allow permissions on Event module under settings -> Users -> Events [User/Manager]. If its not fair, then you can create a new access right under Settings->Groups and add model Event.registration and add the users with full access rights.

Avatar
Discard