[MERGE] forward port branch saas-14 up to 0571362d7a

This commit is contained in:
Christophe Simonis
2018-02-20 10:25:23 +01:00
+1 -1
View File
@@ -33,7 +33,7 @@ class Event(models.Model):
'Dedicated Menu', compute='_compute_website_menu', inverse='_set_website_menu',
help="Creates menus Introduction, Location and Register on the page "
" of the event on the website.", store=True)
menu_id = fields.Many2one('website.menu', 'Event Menu')
menu_id = fields.Many2one('website.menu', 'Event Menu', copy=False)
def _compute_is_participating(self):
# we don't allow public user to see participating label