[FIX] website_event_booth: remove from sitemap
If booth exists for this event, bot will discover it via crawling. Don't need to ask to crawler to check for each event if a booth exists. closes odoo/odoo#156022 Signed-off-by: Jérémy Kersten <jke@odoo.com>
This commit is contained in:
@@ -12,7 +12,7 @@ from odoo.addons.website_event.controllers.main import WebsiteEventController
|
||||
|
||||
class WebsiteEventBoothController(WebsiteEventController):
|
||||
|
||||
@http.route('/event/<model("event.event"):event>/booth', type='http', auth='public', website=True, sitemap=True)
|
||||
@http.route('/event/<model("event.event"):event>/booth', type='http', auth='public', website=True, sitemap=False)
|
||||
def event_booth_main(self, event, booth_category_id=False, booth_ids=False):
|
||||
try:
|
||||
event.check_access_rights('read')
|
||||
|
||||
Reference in New Issue
Block a user