From 33e7c8d60c58c98d2f679b66abae5af7ef224726 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 13 Feb 2018 16:33:44 +0100 Subject: [PATCH] [FIX] website_event: Duplicating event with a menu When duplicating an event.event record with a website_menu, the duplicated event had also a website_menu pointing to the first record. opw:813270 --- addons/website_event/models/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_event/models/event.py b/addons/website_event/models/event.py index 8fab469c5c8..087b69e8499 100644 --- a/addons/website_event/models/event.py +++ b/addons/website_event/models/event.py @@ -32,7 +32,7 @@ class Event(models.Model): website_menu = fields.Boolean( '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) + " of the event on the website.", store=True, copy=False) menu_id = fields.Many2one('website.menu', 'Event Menu') def _compute_is_participating(self):