Browse files

[FIX] website: AccessError

The AccessError made sense when it was introduced back in v10, but
doesn't make sense anymore since there is only one setting wizard.
  • Loading branch information...
nim-odoo committed Sep 14, 2018
1 parent a47f7ee commit 6e0afe864be15f9f59ac9d19be4ed7d451bec83e
Showing with 0 additions and 2 deletions.
  1. +0 −2 addons/website/models/
@@ -80,8 +80,6 @@ def get_values(self):
return res
def set_values(self):
if not self.user_has_groups('website.group_website_designer'):
raise AccessDenied()
super(ResConfigSettings, self).set_values()
set_param = self.env['ir.config_parameter'].sudo().set_param
set_param('auth_signup.allow_uninvited', repr(self.auth_signup_uninvited == 'b2c'))

0 comments on commit 6e0afe8

Please sign in to comment.