[MERGE] forward port branch 10.0 up to 1a8993e0cb

This commit is contained in:
Christophe Simonis
2018-02-20 10:24:15 +01:00
+1 -1
View File
@@ -28,7 +28,7 @@ class Event(models.Model):
show_menu = fields.Boolean('Dedicated Menu', compute='_get_show_menu', inverse='_set_show_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