diff --git a/addons/website_event/static/src/snippets/options.js b/addons/website_event/static/src/snippets/options.js index 2f6fb9039c8..383f813b12e 100644 --- a/addons/website_event/static/src/snippets/options.js +++ b/addons/website_event/static/src/snippets/options.js @@ -17,9 +17,10 @@ options.registry.WebsiteEvent = options.Class.extend({ this.eventId = this._getEventObjectId(); // Only need for one RPC request as the option will be destroyed if a // change is made. - const rpcData = await this.orm.read("event.event", [this.eventId], ["website_menu"]); + const rpcData = await this.orm.read("event.event", [this.eventId], ["website_menu","website_url"]); this.data.reload = this.currentWebsiteUrl; this.websiteMenu = rpcData[0]['website_menu']; + this.data.reload = rpcData[0]['website_url']; return res; },