diff --git a/addons/project/controllers/rating.py b/addons/project/controllers/rating.py index 3df60f3f063..b3af39a3d68 100644 --- a/addons/project/controllers/rating.py +++ b/addons/project/controllers/rating.py @@ -9,7 +9,7 @@ from odoo.http import request class RatingProject(http.Controller): - @http.route(['/project/rating/'], type='http', auth="public", website=True) + @http.route(['/project/rating'], type='http', auth="public", website=True) def index(self, **kw): projects = request.env['project.project'].sudo().search([('rating_status', '!=', 'no'), ('portal_show_rating', '=', True)]) values = {'projects': projects} diff --git a/addons/survey/controllers/main.py b/addons/survey/controllers/main.py index b9e3856d479..63a463e95a9 100644 --- a/addons/survey/controllers/main.py +++ b/addons/survey/controllers/main.py @@ -441,7 +441,7 @@ class Survey(http.Controller): # COMPLETED SURVEY ROUTES # ------------------------------------------------------------ - @http.route('/survey/print/', type='http', auth='public', website=True) + @http.route('/survey/print/', type='http', auth='public', website=True, sitemap=False) def survey_print(self, survey_token, review=False, answer_token=None, **post): '''Display an survey in printable view; if is set, it will grab the answers of the user_input_id that has .''' diff --git a/addons/test_website/controllers/main.py b/addons/test_website/controllers/main.py index 1fc9f8e54e6..6b4328287e0 100644 --- a/addons/test_website/controllers/main.py +++ b/addons/test_website/controllers/main.py @@ -12,7 +12,7 @@ from odoo.exceptions import UserError, ValidationError, AccessError, MissingErro class WebsiteTest(Home): - @http.route('/test_view', type='http', auth='public', website=True) + @http.route('/test_view', type='http', auth='public', website=True, sitemap=False) def test_view(self, **kwargs): return request.render('test_website.test_view') diff --git a/addons/test_website/data/test_website_data.xml b/addons/test_website/data/test_website_data.xml index 4327bf597f8..e970f69484e 100644 --- a/addons/test_website/data/test_website_data.xml +++ b/addons/test_website/data/test_website_data.xml @@ -70,6 +70,7 @@ True /test_page_view + Test View To Be t-called diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py index 57e7aab7bbe..3cfd95fdce2 100644 --- a/addons/website/controllers/main.py +++ b/addons/website/controllers/main.py @@ -468,7 +468,7 @@ class WebsiteBinary(http.Controller): kw['unique'] = unique return Binary().content_image(**kw) - @http.route(['/favicon.ico'], type='http', auth='public', website=True) + @http.route(['/favicon.ico'], type='http', auth='public', website=True, sitemap=False) def favicon(self, **kw): # when opening a pdf in chrome, chrome tries to open the default favicon url return self.content_image(model='website', id=str(request.website.id), field='favicon', **kw) diff --git a/addons/website_crm/views/website_crm_templates.xml b/addons/website_crm/views/website_crm_templates.xml index 21186b437fc..a62eae17c89 100644 --- a/addons/website_crm/views/website_crm_templates.xml +++ b/addons/website_crm/views/website_crm_templates.xml @@ -51,11 +51,11 @@ - +